Greetings!
I''m new to both mapstraction and openlayers, coming from mostly work
with
Google Maps. I''ve been working with mapstraction v2 and the current
server
version of openlayers (2.8 I think).
My first newbie hack has been to make marker.show() and marker.hide() work:
--- mxn.openlayers.core.js (revision 643<my repo>)
+++ mxn.openlayers.core.js (working copy)
@@ -457,11 +457,13 @@
},
hide: function() {
- this.proprietary_marker.setOptions({visible:false});
+ //this.proprietary_marker.setOptions({visible:false});
+ this.proprietary_marker.display( false );
},
show: function() {
- this.proprietary_marker.setOptions({visible:true});
+ //this.proprietary_marker.setOptions({visible:true});
+ this.proprietary_marker.display( true );
},
Are notes like this of any value to the project? Am I taking a reasonable
approach?
Thanks for any feedback,
-dylan-
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20100305/48cb6dec/attachment.htm>