Custom map tiles PDF Print E-mail
Written by Mike Reumer   
Sunday, 09 January 2011 10:52

It's possible to define a custom tile layer with Google Maps plugin (version => 2.12o):

{mosmap tilelayer='http://tech.reumer.net/images/stories/tiles'|
tileminzoom='6'|tilemaxzoom='9'|tileopacity='0.85'|
tilebounds='51.0001625721, 3.0, 54.0, 8.00049916174'|
zoom='6'|centerlat='52.5'|centerlon='5.5'|tilemethod='maptiler'}

 

You have the following parmaters available:

 

  • tilelayer - The url to the base directory of the tiles. Don't add a / at the end.
  • tileminzoom - The minimum zoom of the tiles
  • tilemaxzoom - The maximum zoom of the tiles
  • tileopacity - The opacity of the custom tiles (1 is not transparent, 0 is invisible, 0.5 midway)
  • tilebounds - The bounds of a the custom tiles consists of coordinates for leftbottom (southwest) and right top (northeast). All values should be seperated by comma
  • tilemethod - The method to get the tiles. This can be maptiler for a special function. Or the complete url and define the x, y and z as parameters in the url like: http://www.yourdomain.com?z=[Z]&x=[X]&y=[Y]. See: tileUrlTemplate

If you have problems witrh maptiler, please goto: http://groups.google.com/group/maptiler/topics

Last Updated on Sunday, 20 November 2011 14:47
 

Advertisement