Please find attached a patch to enable OpenLayers to center the map by default on the location provided by this module.

This is similar to a behavior that comes with OpenLayers, but is more flexible, in that it supports more than just HTML5 geocoding.

CommentFileSizeAuthor
add-openlayers-behavior.patch3.87 KBnoahlively
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SocialNicheGuru’s picture

patch no longer applies cleanly and had to manually add

rejected:
function ip_geoloc_ctools_plugin_directory($module, $plugin) {
- if ($module == 'ctools' || $module == 'panels') {
+ if (!empty($plugin)) {

RdeBoer’s picture

Assigned: noahlively » RdeBoer

I thought I had already applied this. Clearly not... Hope to do this soon.

RdeBoer’s picture