Constructor
new MyMap(options)
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
luxx.MyMapOptions | The options. Properties
|
- Source:
Methods
loadProfile(geom, target, opt_addCloseBtn)
It loads the profile into an HTML element.
Parameters:
Name | Type | Description |
---|---|---|
geom |
ol.geom.LineString | The line geometry. |
target |
Element | string | The target in which to load the profile. |
opt_addCloseBtn |
boolean | undefined | Whether to add a close button or not. Default is false. |
- Source:
setMap(map)
Set the map
Parameters:
Name | Type | Description |
---|---|---|
map |
lux.Map | The map in which to load the mymap features. |
- Source: