search for: infobubble

Displaying 6 results from an estimated 6 matches for "infobubble".

2007 Jul 25
1
regarding polylines
...d = addCodeToFunction(window.onload,function() { map = new Mapstraction("map_div","yahoo"); map.setCenterAndZoom(new LatLonPoint(37.3853,-122.0172 ),12);map.addSmallControls(); map.addMarkerGroup(new MarkerGroup([addDataToMarker(new Marker(new LatLonPoint(37.3853,-122.0172)),{infoBubble : "Maude & Fair Oaks <br/> Next bus is at 14:19:00"}),addDataToMarker(new Marker(new LatLonPoint(37.3958,- 121.9914)),{infoBubble : "Fairwood & Sandia <br/> Next bus is at 14:37:00"}),addDataToMarker(new Marker(new LatLonPoint(37.4034,-121.9958)),{infoBubble...
2010 Aug 30
4
Implementation of openBubble for openlayers
...nk it should somehow "register" to a "isDrawn" event from the map, but I don''t know how to manage this... * The toProprietary method creates a new Popup each time it''s called, there must be a way to create it only once but it has to be updated while calling setInfoBubble. As I''m quite new in using and hacking mapstraction, I think I''m not skilled enough to achieve a workaround. Could someone help ? Regards, Nicolas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstra...
2008 Mar 11
0
support passing dom element to Marker''s setInfoBubble
Hi, The Marker class has the method setInfoBubble(String html/text). Unfortunately I am unable to add a DOM element where I need all the event to fire. If I add the string represtation of the DOM node to setInfoBubble(..), it renders fine but all the controls no longer fire events. Is there a way to have the elements in the infoBubble fire events...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...) { + cicon.shadowSize = new CM.Size(this.iconShadowSize[0], this.iconShadowSize[1]); + } + } + options.icon = cicon; + } + if (this.labelText) { + options.title = this.labelText; + } + var cmarker = new CM.Marker(pt, options); + + if (this.infoBubble) { + cmarker.bindInfoWindow(this.infoBubble); + } + + + return cmarker; }, openBubble: function() { - // TODO: Add provider code + var pin = this.proprietary_marker; + pin.openInfoWindow(this.infoBubble); },...
2009 Jan 31
4
marker.closeBubble()
Any reason why there''s no closeBubble function in Mapstraction? It''s supported by at least Yahoo (closeSmartWindow) and Google (closeInfoWindow). A related issue, but not as clear-cut: a bubble closed event. I know Google supports this, but I haven''t investigated further. --Adam
2010 Aug 09
3
New build 2.0.5
Just applied some changes from Adam and Dylan and uploaded a new build. Good stuff guys, thanks. Get 2.0.5 here: http://github.com/mapstraction/mxn/downloads Derek -- Derek Fowler m. +44 (0) 7966 512 369 e. dezfowler at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: