Hi Mike,

Then you can file a ticket and attach your patch (or you can fork the repo,
> make your patch and register a pull request).
>
>
I have made the changes and sent the pull request. Hope the changes will be
merged and available to all the wicket folks.


Regards,
>
> Mike
>
>
Cheers,
Daku


>
>
>
>  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, [email protected]<
>> [email protected]>  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
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to