Closed (fixed)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2008 at 22:19 UTC
Updated:
11 Jun 2008 at 23:04 UTC
For anyone who wants to add in the terrain map type to the gmaps module:
gmap_settings_ui.inc line 133:
'#options' => array('Map' => t('Map'), 'Satellite' => t('Satellite'), 'Hybrid' => t('Hybrid'), 'Terrain' => t('Terrain')),
gmap_macro_builder.module line 91:
'#options' => drupal_map_assoc(array('Map', 'Satellite', 'Hybrid', 'Terrain')),
gmap.js around line 200 add in:
if(obj.vars.maptype=='Terrain') type = G_PHYSICAL_MAP;
if(type==G_PHYSICAL_MAP) obj.vars.maptype = 'Terrain';
Then you can choose Terrain in the config page
Comments
Comment #1
kuldip zala commentedhi,
i apply all the things as above describe.
I also got in config page.
if i can make it default in config page then its display map type of 'Terrain'.
But i can't get 4th option of 'Terrain' when view a whole map.
It gives a choice to user for choosing 3 types not 'Terrrain'.
Plz help. Thnks in advance.
Comment #2
jhaggenburg commentedthis could be done with the following in gmap.js, after line 124:
I never made a patch, but I will when I can find some time for it!
Comment #3
bdragon commentedLatest snapshot has revamped baselayers support.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.