That's pretty much what I'm doing, too.

Thanks!

Greg

Arnaud Morvan wrote:
Just out of curiosity, has anyone made a Dojo _Contained subclass that 
wraps an OpenLayers Map?
  
    
I've use OpenLayers with Dojo and Symfony, I've put the map into a Dojo 
container, but I have made nothing particular for that (not a subclass):

<style type="text/css">
    @import "/js/dojo-release-1.1.1/dijit/themes/tundra/tundra.css";
    @import "/js/dojo-release-1.1.1/dojo/resources/dojo.css"
</style>

<script type="text/_javascript_" 
src=""></script>
<script type="text/_javascript_" src="" 
djConfig="parseOnLoad: true, isDebug: true, usePlainJson:true"></script>

<script type="text/_javascript_">
    dojo.require("dijit.layout.ContentPane");
   
    function openMap() {
        map = new OpenLayers.Map('map');
        ...
    }

</script>

<body class="tundra" >
...
    <div id="map" dojoType="dijit.layout.ContentPane" region="center" 
style="display:block; border:1px black solid;"></div>
...
</body>

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
  


-- 
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| [EMAIL PROTECTED]
| 360.774.6848
|
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to