Displaying 2 results from an estimated 2 matches for "setinfodiv".
2008 Jun 03
3
OpenSpace support for mapstraction
...an error ''HTTP referrer not valid'' then open a new
browser window and paste in the link and it should be ok.
The following features are not supported:
declutterMarkers()
showRoute()
addImageOverlay()
addOverlay()
addTileLayer()
toggleTileLayer()
Polyline.show() and hide()
Marker.setInfoDiv(), setDraggable(), setHoverIcon(), setShadowIcon(),
openBubble()
Map type control (if requested in addControls() this provides ability to
switch on/off layers and markers)
setMapType() and getMapType()
Everything else should work.
Regards
Colin Law
-------------- next part --------------
A non-t...
2008 Mar 12
0
Execute custom code when clicking marker
...nfoWindowHtml()) that is assigned now.
Further, the addListener() function could take the event type as
argument in addition to the function, but as I do not know which events
are supported by the different map providers, I don''t know if this is a
good idea.
This could possibly eliminate setInfoDiv() (and code related to it), as
the function passed to addListener() could handle such functionality.
It seems to me that the Mapstraction.clickHandler() may give
functionality similar to what I need, but I don''t really understand how
to use it at the moment.
A couple of additional commen...