Hello,
after checking or unchecking "Enable panning control" I don't see any differences on the map.

Comments

Skin created an issue. See original summary.

a.dmitriiev’s picture

Unfortunately the panControl options is not available anymore at Google Maps API, please refer to documentation https://developers.google.com/maps/documentation/javascript/controls . This option was removed from module, but 2 new options scaleControl and rotateControl were added to DEV branch.

a.dmitriiev’s picture

Status: Active » Needs review
Skin’s picture

Hello, I've uploaded the latest dev, but if I enable or disable the two options (scaleControl and rotateControl) I don't se any difference on the map, I'm using views.

a.dmitriiev’s picture

Hi Skin,

Please take a look at screencast http://screencast.com/t/rg7k9QjW4OW8 . This is scaleControl option according to documentation https://developers.google.com/maps/documentation/javascript/controls . Unfortunately, there is no more dragging scale slider available for Google map with circle on the top like it was before, I think they might remove it in new JS API version at all.

As for rotateControl:

The Rotate control provides a combination of tilt and rotate options for maps containing oblique imagery. This control appears by default near the bottom right of the map. See 45° imagery for more information.

. So it is available only for special map types and locations, please refer to documentation here https://developers.google.com/maps/documentation/javascript/maptypes#45D... .

Skin’s picture

Hello thanks for your reply,
after your explanation I've noticed scale control on the map, it is working as expected.

I've noticed that Views is working correctly, but if i go on the content type containing the "styled google map" formatter, the map is no longer there, there is an empty square.

  • a.dmitriiev committed e135ec2 on 7.x-1.x
    Issue #2666124: Enable panning control does nothing
    
a.dmitriiev’s picture

Thanks for noticing the issue. Fixed again.

Skin’s picture

Hello,
I've updated to the latest dev version, but after the update I have this error:

Warning: include_once(/var/www/html/batististart/sites/all/modules/styled_google_map/styled_google_views/styled_google_views.views.inc): failed to open stream: No such file or directory in _theme_process_registry() (line 565 of /var/www/html/batististart/includes/theme.inc).
Warning: include_once(): Failed opening '/var/www/html/batististart/sites/all/modules/styled_google_map/styled_google_views/styled_google_views.views.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in _theme_process_registry() (line 565 of /var/www/html/batististart/includes/theme.inc).

After the update the direcotry sites/all/modules/styled_google_map/styled_google_views disappeared

a.dmitriiev’s picture

Hi Skin,

If you try to download the latest DEV version from this page https://www.drupal.org/project/styled_google_map it has styled_google_views folder. Maybe you accidentally updated to stable 7.x-1.0 version? It doesn't have views plugin yet.

Skin’s picture

Hello,
you are right, I've inadvertently updated to the stable release, with the latest dev everything works as expected.

Thanks for this module and for these updates

  • a.dmitriiev committed e135ec2 on 7.x-2.x
    Issue #2666124: Enable panning control does nothing
    
a.dmitriiev’s picture

Status: Needs review » Closed (fixed)