Embedded Google Map now basically working
Posted by mholmes on 28 Jan 2014 in Activity log
I have it working the way I want it to now:
- The map takes up 60% of the width available, and 30 ems in height. That seems to be a good compromise between showing enough detail and taking over the page.
- The place itself is now outlined on the map rather than being a filled blob.
- A new link is provided below the map to take you to the full Google Maps site if you want to see it there.
- If you have JavaScript enabled, all of this happens; if you don't, the original link functions as a link directly to Google Maps.
- I've also built the same basic idea into the mdtList pages such as the list of mdtEncyclopediaLocationStreet documents, and that seems to be working OK except that I haven't quite figured out how to set the zoom level so it encompasses all the content of the KML layer. Working on that now.
Lots of tweaking still to do, of course, but we're getting there. I'm going to geo-ref a few more places so I can get a better range of tests.