I downloaded gwt-openlayers-showcase project from
http://gwt-openlayers.sourceforge.net/. It works fine util I add a new map.
I don't know why GMapType.*G_NORMAL_MAP* returns null in the following
code:
GoogleOptions googleOptions = *new* GoogleOptions();
GMapType normalMap = GMapType.*G_NORMAL_MAP*;
googleOptions.setType(normalMap);
googleOptions.setIsBaseLayer(*true*);
Google google = *new* Google("Streets", googleOptions);
example.getMap().addLayers(*new* Layer[] {google});
I want to use Google Maps as a base layer. I appreciate it if you would
pinpoint what wrong with the above code or direct me to same examples or
articles.
Jim
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users