MapPoint
Description
This component represents an anchored point on the map.
Name | Type | Default | Description |
---|---|---|---|
latitude | number | 37.7955281 | The latitude of the map point |
longitude | number | -122.3934225 | The longitude of the map point |
meters | number | 33.33 | Map meters per Transform unit for children of the map point. |
minScale | number | false | Minimum width/scale relative to the map |
Functions
Get
Returns a read-only reference.
Example
ecs.MapPoint.get(world, component.eid)