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
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:
r
Hi,
The best way is to checkout the existing code and add in the changes
needed to allow you to access the new type (probably both Javascript and
Java changes will be needed).
GMap2 is in wicketstuff core here: https://github.com/wicketstuff/core
(https://github.com/wicketstuff/core/tree/co
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
Dear Mike,
Do you know when the maven dependency of gmap2 with the latest changes will
be available on the maven repository? moreover the dependency description?
so that I can start using it in my project.
Currently the dependencies I use for my projects are:
Hi Daku,
Thanks for contributing your work to the wicketstuff project.
I will try and cut a 1.4.17.1 release tonight (if there are any problems
I'll get back to you). I've been working on the 1.5-RC3.1 release over
the weekend which is not done yet (there is a divergence between 1.5-RC3
and
Hi Daku,
I cut the 1.4.17.1 release last night so you can now fetch it from maven
using the same dependencies you indicated for 1.4.16.
I will be sending an official release message later but its has already
propogated into maven central so you can use it.
Regards,
Mike
Dear Mike,
Do you