CodeShop

Customize your map

May 28th, 2007

When you want to place a Regio112 Map on your site, you can use HTML embedded code directly from the regio112 website.

Here’s an example of the area Eindhoven:

<iframe src=”http://www.regio112.nl/maps/embed?zoom=11&lat=51.44&lng=5.48” width=”400px” height=”400px”>

The default is to show all the video items. You can further customize this.

Keyword filtering

If you only want to show video items with a certain tag, e.g. ‘fire, police, ambulance, sq_vision, anything’ you add another parameter (the text in bold) to the HTML embed code.

<iframe src=”http://www.regio112.nl/maps/embed?zoom=11&lat=51.44&lng=5.48 &q=meta%5Bkeyword%5D%3Dsq_vision” width=”400px” height=”400px”>

Map dimensions

Changing the size is just as easy. The width and height parameters are set by default to 400 pixels. Here’s an example of a rectangular view.

<iframe src=”http://www.regio112.nl/maps/embed?zoom=11&lat=51.44&lng=5.48 &q=meta%5Bkeyword%5D%3Dsq_vision” width=”300px” height=”800px”>

Sorry, comments are closed for this article.