Displaying 4 results from an estimated 4 matches for "decluttermarkers".
2008 Jun 03
3
OpenSpace support for mapstraction
...ants.co.uk/openspace_demo.html.
Note that OpenSpace seems sometimes to have a problem with links clicked
from email. If you get 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)
setM...
2010 Jan 05
2
Clustering in Mapstraction
Hi All,
I''m looking for a good example of client-side marker clustering with
Mapstraction. It would be especially valuable if it was easily
reusable code, similar to MarkerClusterer for Google Maps:
http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/docs/reference.html
If no such thing exists for Mapstraction (and I haven''t seen one),
what are the
2009 Dec 13
0
r65 committed - Use the GeoCommons addOverlay method
...// 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];
+
+ // TODO: Add provider code
+ },
+
+ addPolyline: function(polyline, old) {
+ var map = this.maps[this.api];
+ var pl = polyline.toProprietary(this.api);
+ // TODO: Add provide...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...[this.api];
-
- // TODO: Add provider code
+ map.removeOverlay(marker.proprietary_marker);
},
removeAllMarkers: function() {
- var map = this.maps[this.api];
-
- // TODO: Add provider code
+ // Done in mxn.core.js
},
declutterMarkers: function(opts) {
@@ -88,47 +107,37 @@
addPolyline: function(polyline, old) {
var map = this.maps[this.api];
var pl = polyline.toProprietary(this.api);
-
- // TODO: Add provider code
-
+ map.addOverlay(pl);
return pl;
},...