<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That's pretty much what I'm doing, too.<br>
<br>
Thanks!<br>
<br>
Greg<br>
<br>
Arnaud Morvan wrote:
<blockquote cite="mid:48F44C8D.5000502@abscisse-geomatique.fr"
type="cite">
<blockquote type="cite">
<pre wrap="">Just out of curiosity, has anyone made a Dojo _Contained subclass that
wraps an OpenLayers Map?
</pre>
</blockquote>
<pre wrap=""><!---->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="/js/OpenLayers-2.6/OpenLayers.js"></script>
<script type="text/javascript" src="/js/dojo-release-1.1.1/dojo/dojo.js"
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" onLoad="openMap();">
...
<div id="map" dojoType="dijit.layout.ContentPane" region="center"
style="display:block; border:1px black solid;"></div>
...
</body>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| <a class="moz-txt-link-abbreviated" href="mailto:greg@ergonosis.com">greg@ergonosis.com</a>
| 360.774.6848
|</pre>
</body>
</html>