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