Image to Google Maps powered by javascript
Latest commit ac544a6 Jan 14, 2015 @Murtnowski Update
Typo fix
Failed to load latest commit information.
LICENSE Initial commit Sep 11, 2013
LegendOfZelda-ALinkToThePast-LightWorld.png Initial Build Sep 12, 2013 Update Jan 13, 2015
gmap-jslicer.js Initial Build Sep 12, 2013
index.html Initial Build Sep 12, 2013


Image to Google Maps powered by javascript

slicer = new JSlicer(document.getElementById('map'), 'myImage.png');

Allows you to view an image as a Google Map without have to do any pre-tiling or server-side work. Its quick and simple to implement.

This is not production ready and really should be only used as a code sample. However is does work.

We take a IMG element of the image we want to mapify then use Canvas to generate the necessary tiles used by Google Maps when rendering. The entire process is done client side in Javascript.

Eventually when Web Workers get better support for Canvas, we will use them to improve performance.

Also on some mobile device won't load images over a certain size. The iPhone is limited to width * height ≤ 3 * 1024 * 1024

See it in the wild: