SpatialMapData
in package
Description of ThreeDObject
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getCoordinates() : string
- getData() : array<string|int, mixed>
- Return the result array with data and type
- checkMultiPolygonMapString() : string
- doTheRequest() : array<string|int, mixed>
- Guzzle api request to fetch the other resource map data by id
- getMapTypeSpatial() : string
- get the map type
- getPolygon() : string
- Add Multipolygon string for the polygon dataset, othwerwise the js plugin cant handle it
Properties
$client
private
mixed
$client
$id
private
mixed
$id
$mapData
private
mixed
$mapData
$url
private
mixed
$url
Methods
__construct()
public
__construct() : mixed
getCoordinates()
public
getCoordinates() : string
Return values
stringgetData()
Return the result array with data and type
public
getData(type $url) : array<string|int, mixed>
Parameters
- $url : type
Return values
array<string|int, mixed>checkMultiPolygonMapString()
private
checkMultiPolygonMapString() : string
Return values
stringdoTheRequest()
Guzzle api request to fetch the other resource map data by id
private
doTheRequest() : array<string|int, mixed>
Return values
array<string|int, mixed>getMapTypeSpatial()
get the map type
private
getMapTypeSpatial() : string
Return values
stringgetPolygon()
Add Multipolygon string for the polygon dataset, othwerwise the js plugin cant handle it
private
getPolygon() : string