replace G_SATELLITE_MAP in tile layers

605
1
03-25-2011 03:37 PM
JulieRecker
New Contributor
hi,
newbie question here: i am using the google maps javascript api to build a mapping application. currently, i have the following code to put a custom map over the google base map:

var tilelayers = [G_SATELLITE_MAP.getTileLayers()[0], gTileLayer];
var gMapType = new GMapType(tilelayers, new GMercatorProjection(20), "My Map", {errorMessage:"No Data Available"});
gmap.addMapType(gMapType);

what i want to do is use a custom map instead of G_SATELLITE_MAP as the base layer.

i've been fighting this for a week. how do i do this?
0 Kudos
1 Reply
AryaWardhana
New Contributor
we have same problem..? have you succes created it.? please share your code
0 Kudos