Tag Archives: Neogeography

geo:truc generates web pages with Google Maps code

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

Short URLs in geo:truc

A small and quick post to announce that now geo:truc now works with short URLs (in the link section) instead of long and unreadable ones.

It means that instead of providing users with an URL  such as http://www.geotruc.net/?ll=47.787926,4.680176&z=7&mt=3, geo:truc provides users with http://www.geotruc.net/a549k9.

The complete URL is still displayed in the address bar once the user has landed on the home page.

Enjoy!

geo:truc: faster, harder, stronger, louder

A lot of work has been done lately to improve geo:truc.

There is at this point no new feature, no, the work has been to make it faster by reducing the size of the different components (HTML, javascript, CSS), by using compression and by using CSS-sprites.

The size of the text files was reduced by optimizing the code and by trying to write it in a more compact way (less new lines etc).

The flags on the top of the frontpage were already sprites, but I generalized this use. The point is that only one image file is downloaded once instead of a lot of small ones (one for the logo, one per icon etc). This avoids to make a lot of calls to the server with a an extra response time per request.

If anything is wrong in the layout, try a reload or to clean your cache.

Enjoy now a faster geo:truc!

geo:truc creates Google Maps code

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 korbinus.net:


geo:truc in swedish, OpenSearch support

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.

Read more

geo:truc has mutilingual support, french first supported

So I finally added support for other languages in geo:truc. It is now possible to use it in french.

Next step is to have swedish support.

Read more

geo:truc supports more social services

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.