Hello,
>
> Could you provide an example of
> OSMMapnik and OSMRenderer
so one of the examples could be:
class MyLayers(WidgetsList):
my2 = OSMMapnik(name="Mapnik")
but I think I found a bug. For some reason the openstreetmap.js gets
added/loaded first instead of last.
I tried looking into tw.openlayer code but I can't seem to find how to
move it at the end.
I have tried in regular html file and if I move it at the end it
renders, but if I leave it at the beginning it does not.
<head><script type="text/javascript"
src="/toscawidgets/resources/tw.openlayers.util/static/javascript/OpenStreetMap.js"></script>
<link rel="stylesheet" type="text/css"
href="/toscawidgets/resources/tw.openlayers.map/static/javascript/theme/default/style.css"
media="all" />
<script type="text/javascript"
src="/toscawidgets/resources/tw.openlayers.map/static/javascript/OpenLayers.js"></script>
<script type="text/javascript"
src="/toscawidgets/resources/tw.openlayers.map/static/javascript/map.js"></script>
it should be
<head>
<link rel="stylesheet" type="text/css"
href="/toscawidgets/resources/tw.openlayers.map/static/javascript/theme/default/style.css"
media="all" />
<script type="text/javascript"
src="/toscawidgets/resources/tw.openlayers.map/static/javascript/OpenLayers.js"></script>
<script type="text/javascript"
src="/toscawidgets/resources/tw.openlayers.map/static/javascript/map.js"></script>
<script type="text/javascript"
src="/toscawidgets/resources/tw.openlayers.util/static/javascript/OpenStreetMap.js"></script>
How can we fix this?
Thanks,
Lucas
> for this file
> http://toscawidgets.org/hg/tw.openlayers/file/3de8e56542c5/tw/openlayers/layer.py
>
> and maybe add it to:
> http://toscawidgets.org/hg/tw.openlayers/file/3de8e56542c5/tw/openlayers/samples.py
>
> Thanks,
> Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---