Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi everyone, I've checked the setting "scale : Add scale control to map." under Gmap module's Map "Map Behavior flags". I was expecting to see the scale controls: http://screencast.com/t/NEFoKN3YX (red) but did not. Is there something I've missed configuring?
Comment | File | Size | Author |
---|---|---|---|
#7 | gmap-zoomControl-1986108.patch | 1.19 KB | kenorb |
#5 | gmap-zoomControl-1986108.patch | 1.3 KB | kenorb |
Comments
Comment #1
Mark Vincent Verallo CreditAttribution: Mark Vincent Verallo commentedI meant zoom control. I've resolved this by adding to the map macro "control=small" of the Location map block. It seems that the overall settings in Gmap is not used. I think we have to override on map by map basis.
Comment #2
seanmrafferty CreditAttribution: seanmrafferty commented#1 works when you edit the block, but what can you do when you are not using blocks (they don't export)? As noted, the GMap config settings seemed to be ignored.
Comment #3
podarokmoving to proper version
Comment #4
kenorb CreditAttribution: kenorb commentedComment #5
kenorb CreditAttribution: kenorb commentedIt seems the zoomControl wasn't implemented?
Find the attached patch to test it.
Comment #7
kenorb CreditAttribution: kenorb commentedComment #8
hutch CreditAttribution: hutch commentedDuplicate of #1851028: Pan/zoom controls disappeared
Comment #9
podaroktag
Comment #10
miccelito CreditAttribution: miccelito commented@kenorb #7:
After adding your patch I get following message
(I'm using GMmap 7x-2.7)
Comment #11
kenorb CreditAttribution: kenorb commented@miccelito:
The issue is already fixed in dev, so please check the latest dev version or please use this patch:
https://drupal.org/node/1851028#comment-7769003
Comment #12
miccelito CreditAttribution: miccelito commented@kenorb:
Should say that your patch #7 did work showing the zoom control. Great so far.
Tho the 'Notice: Undefined index: zoom in gmap_admin_settings()' warning message showed up.
I have added a 'location cck' field to one of my views, the field includes a Map Macro setting, control value (control=Small) included in macro I've provided. Of some reason the 'Notice: Undefined index: zoom in gmap_admin_settings()' warning message disappears if I exclude control value for the Map Macro setting field of the 'location cck' field. Weird..
Have you got any clue why?
Anyways I'll keep using GMmap 7x-2.7, if any new warning messages will appear then I'll consider try dev version or use linked patch #11
Comment #13
hutch CreditAttribution: hutch commentedThe linked patch in #11 has already been commited, just download 7.x-2.x-dev and make sure you flush the cache.
Comment #14
gillarf CreditAttribution: gillarf commentedI'm having the same issue with 6.x-2.0-beta5 also. Was zoom missed out here too?