As I can see in the wicket-map.js, the types are hardcoded as following:

this.getMapTypeString = function(mapType){
switch (mapType) {
case G_NORMAL_MAP:
return 'G_NORMAL_MAP';
break;
case G_SATELLITE_MAP:
return 'G_SATELLITE_MAP';
break;
case G_HYBRID_MAP:
return 'G_HYBRID_MAP';
break;
default:
return 'unknown';
break;
};
}

what I would like to do is, adding the G_PHYSICAL_MAP

is there a way to add this type to the created map by injecting javascript
code inside panel or page class?

Daku

On Thu, Apr 21, 2011 at 3:58 PM, lambdad...@gmail.com <
lambdad...@googlemail.com> wrote:

> Hi,
>
> How can I show the terrain view in google maps using gmap2? As of now, I
> can only see the hybrid and satellite views by adding the respective
> controls using map.addConrol(GControl.GMapTypeControl).
>
> I am using the 1.4.16 version of gmap and wicket.
>
> Thanks you in advance.
> Daku
>

Reply via email to