Skip to content
September 26, 2011 / phillipsb1

Dojo and Geospatial mash ups

I have been having a bit of luck lately building mash ups using Dojo and the Open Layers toolkit.  The open layers kit allows me the ability to write JavaScript to visualize maps without committing to a single data provider.  It has been a little painful though.  When I attempt to embed a mapping control into the Dojo container, it breaks the map, or it breaks the layout.  In either case, it is just broken.

The get-well fix was pretty straightforward.  Just don’t do that.  I found no easy way to cohabitate dojo containers with mapping controls such as Goolge Maps or Amazon Maps, so I was forced to do all of my layout using standard divs, and to only use dojo for the html control itself.  It seems to work just fine so long as the dojo control is rendered ON TOP of the other controls.  Do not embed the map within the control though.

 

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.