For a while now, geo:truc has provided a snippet of code for embedding a map as an image in a web document.
As of today, it generates a complete web page with a dynamic map embedded in it. Simply find a place you like, go to the combo box titled
Code, and choose
Google Maps. A pop-up window will appear with the code you need. Copy it, save it in a file and off you go! You can of course edit it and add/change what you want.
Update 2011-05-15 10:31: Here is an example of a web page with a map created with geo:truc: http://www.geotruc.net/gmapexample.html
geo:truc provides snippets of code in different formats (microformat, geoRSS, KML and more) when a location is found.
It provides now code for embedding a map as an image in a web page: just choose the option ‘Google Maps (static)’ in the drop down list in the right box on top of the map. An HTML image tag will be generated, invoking the Google Maps API.
The image has a dimension of 400x300px and it will be necessary to add a Google Maps API key when publishing on the Net. Zoom and map format are taken from the current map displayed in geo:truc.
An exemple of code for the Eiffel tower in Paris:
Update:The code below was adapted to the changes in Google API and to the change of the domain name
<!-- You can adapt the size by changing the values below //-->
<img src="http://maps.google.com/maps/api/staticmap?zoom=16&size=400x300&maptype=hybrid&markers=48.858205,2.294359&sensor=false" />
<!-- generated by geo:truc - http://www.geotruc.net //-->
Et voilà ! The result, after replacing YOUR_API_KEY by the one for the domain
Now geo:truc can be read in swedish. It supports also OpenSearch, which means that you can start searching from your toolbar in Firefox without visiting first the site. I haven’t tested it yet on other browsers but that should make it.
In geo:truc, it is now possible to post a specific location to more social services:
An awful bug that was screwing the display in Internet Explorer is now fixed. Now geo:truc looks as nice in IE as in Firefox/Chrome/Safari.
The overview map is back, it disappeared when geo:truc moved to GMaps standard UI.
The bad news is that for the time being the web service is down.
Now starts the work to support other languages than english. Let’s begin with french and swedish.
Here are the news for geo:truc:
- easy coordinates selection: simply click on them and they are selected;
- easy URL selection: do the same thing as above;
- draggable marker for easily pointing to the place you’re looking for
- a new dark look
- some bug fixes
Last june GBIF released its new portal. Together with it came a few web services. One of them is the possibility to embed a distribution map in a web page.
Let say you have a special interest in one particular species. It can be the one you’re doing your research on, it can be the one you will teach to your schoolkids, it can simply be that you like this particular species.
Then why not making a web page for presenting this and sharing your interest with others? And why not displaying a map for showing where this animal happens to be?
Fortunately, there is a big network of biodiversity databases out there: GBIF. This network makes more than 146 millions of records available to anyone. The data is about collected specimens or observations. GBIF builds maps from the records provided with coordinates, and it provides a simple way to embed them into a webpage.
Those tiles are nicer and with a better contrast.
Read more at geobloggers as well as Yahoo! Local Maps blog.