Kaka, <br>
<br>
It is hard for people to help you because we need a more detailed description of the problem. <br>
I personally do not understand what is going wrong here.<br>
Erik<br><br><div><span class="gmail_quote">On 4/17/07, <b class="gmail_sendername">kaka</b> <<a href="mailto:drspencer@hotmail.com">drspencer@hotmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Any help on this issue would be greatly appreciated. Could it be that this is<br>a bug? The example is over at<br><a href="http://www.villageografica.com/test44/Africa-test.html">http://www.villageografica.com/test44/Africa-test.html
</a> and my problem is<br>that the maxResolution doesn´t work with the zoom ranges I want and, also,<br>that the markers are not in the correct position.<br><br>Magnus<br><br><br><br><br>kaka wrote:<br>><br>> This is an example of the problem I have:
<br>><br>> <a href="http://www.villageografica.com/test44/Africa-test.html">http://www.villageografica.com/test44/Africa-test.html</a><br>><br>> If I change the maxResolution to 0.2 the map works fine, but its current
<br>> 0.3 won´t work. I hope this illustrates my problem.<br>><br>> Magnus<br>><br>><br>><br>> Erik Uzureau-3 wrote:<br>>><br>>> Dear Kaka,<br>>><br>>> Do you have a live example that you could post a link to?
<br>>> Offhand, I can't see what the problem is... but I might be<br>>> able to help you out if I could see it in action<br>>><br>>> Erik,<br>>> Best<br>>><br>>> On 4/10/07, kaka <
<a href="mailto:drspencer@hotmail.com">drspencer@hotmail.com</a>> wrote:<br>>>><br>>>> Thank you very much, Erik, this has been a great help. However, I have<br>>>> run<br>>>> into a problem. If the markers are set to not show on first load, but to
<br>>>> appear when zooming in, the show/hide functionality stops working and<br>>>> the<br>>>> markers are dislocated when zooming out. My code looks like this:<br>>>><br>>>> var MarkersLayer2 = new
OpenLayers.Layer.Text( "Region info", {location:<br>>>> "markers.txt", maxResolution: 0.03});<br>>>><br>>>> Changing the "0.3" to "0.2" causes the problems mentioned above. Is this
<br>>>> related to my code or a possible bug?<br>>>><br>>>> Magnus<br>>>><br>>>><br>>>><br>>>><br>>>> kaka wrote:<br>>>> ><br>>>> > Hi
<br>>>> > I am trying to turn on/off a layer of markers depending on zoom level,<br>>>> > using google maps as a background layer. Does anyone have suggestions<br>>>> on<br>>>> > how to achieve this or is there or maybe an example? Thank you for any
<br>>>> > ideas.<br>>>> ><br>>>> > Regards,<br>>>> ><br>>>> > Magnus<br>>>> ><br>>>><br>>>> --<br>>>> View this message in context:
<br>>>> <a href="http://www.nabble.com/Turning-on-off-layers-depending-on-zoom-level-tf3550126.html#a9927966">http://www.nabble.com/Turning-on-off-layers-depending-on-zoom-level-tf3550126.html#a9927966</a><br>>>> Sent from the OpenLayers Users mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.<br>>>><br>>>> _______________________________________________<br>>>> Users mailing list<br>>>> <a href="mailto:Users@openlayers.org">Users@openlayers.org
</a><br>>>> <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>>>><br>>> _______________________________________________<br>>> Users mailing list
<br>>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>>> <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>>><br>>><br>>
<br>><br><br>--<br>View this message in context: <a href="http://www.nabble.com/Turning-on-off-layers-depending-on-zoom-level-tf3550126.html#a10048769">http://www.nabble.com/Turning-on-off-layers-depending-on-zoom-level-tf3550126.html#a10048769
</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">
Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br>