search for: removemark

Displaying 4 results from an estimated 4 matches for "removemark".

Did you mean: removeask
2009 May 24
9
Mapstraction Sandbox & V2 push
Greetings from the day of rest after a week of Where. It was a great time out here - and there is a lot of interest in the community around Mapstraction. The new Sandbox (http://mapstraction.appspot.com) made surprisingly quick rounds and lots of kudos. It will be a great place to demo Mapstraction and encourage developers. We had a very good discussion about Mapstraction at WhereCamp. Pamela
2009 Nov 04
0
r53 committed - applied patch from John McKerrell
...// then there is no location and this event should not fire. + if ( location ) { + me.clickHandler(location.lat(),location.lng(),location,me); + } + }); }, applyOptions: function(){ @@ -87,6 +102,7 @@ removeMarker: function(marker) { var map = this.maps[this.api]; + marker.proprietary_marker.closeInfoWindow(); map.removeOverlay(marker.proprietary_marker); },
2009 Dec 13
0
r65 committed - Use the GeoCommons addOverlay method
...der code - } + }, + addMarker: function(marker, old) { + var map = this.maps[this.api]; + var pin = marker.toProprietary(this.api); + // TODO: Add provider code + // map.addOverlay(pin); + return pin; + }, + + removeMarker: function(marker) { + var map = this.maps[this.api]; + // TODO: Add provider code + + }, + + removeAllMarkers: function() { + // Done in mxn.core.js + }, + + declutterMarkers: function(opts) { + var map = this.maps[this.api]; + +...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...int, zoom) { @@ -61,22 +85,17 @@ addMarker: function(marker, old) { var map = this.maps[this.api]; var pin = marker.toProprietary(this.api); - - // TODO: Add provider code - + map.addOverlay(pin); return pin; }, removeMarker: function(marker) { var map = this.maps[this.api]; - - // TODO: Add provider code + map.removeOverlay(marker.proprietary_marker); }, removeAllMarkers: function() { - var map = this.maps[this.api]; - - // TODO: Add provider co...