Like all good customers, their patience on the two months timeframe i had given them to get Fiji's map up and running ran out before the deadline and last week I promised them I'll show them at least something within a week. And of course I had no clue how I was going to keep that promise. I tried my hand on all sorts of things, I tried to configure and run our own map server to spit our tiles for Fiji, I tried overlaying Fiji's map data (which the client provided as shapefiles and it only covered a part of Fiji) on google map, I used good-old Firebug to debug OpenGTS's tracking website to see how they did their tracking using Open Street Map.
var OSMMap = new GMapType(osmLayer, G_SATELLITE_MAP.getProjection(), "OSM", G_SATELLITE_MAP);
And that's it !!
That's all it takes to add Open Street Map as a new map type in google map.
here's the complete code:
The picture doesn't look much since it seemed to gt resized when it gets uploaded. to see a better pic, click here cheers