Closed (fixed)
Project:
Openlayers
Version:
7.x-2.0-beta5
Component:
OL Layers
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2013 at 10:18 UTC
Updated:
24 Apr 2013 at 14:40 UTC
Being layers seem not to work. When selecting one of Bing layers (road, aerial, hybrid), maps display with a blank base layer (layers markers on white background).
Here's e.g. Bing Road layer export code (OL module default sets)
$openlayers_layers = new stdClass();
$openlayers_layers->disabled = FALSE; /* Edit this to true to make a default openlayers_layers disabled initially */
$openlayers_layers->api_version = 1;
$openlayers_layers->name = 'bing_road';
$openlayers_layers->title = 'Bing Road';
$openlayers_layers->description = 'Bing Road tiles.';
$openlayers_layers->data = array(
'name' => 'Bing Road',
'isBaseLayer' => TRUE,
'type' => 'Road',
'projection' => array(
0 => 'EPSG:3857',
),
'layer_type' => 'openlayers_layer_type_bing',
);
| Comment | File | Size | Author |
|---|---|---|---|
| Schermata 04-2456393 alle 12.15.27.png | 187.25 KB | cesareaugusto | |
| map with bing layer not working | 29.88 KB | cesareaugusto |
Comments
Comment #1
blueearth commentedI have the same problem.. Even if I enable the example_bing map in admin/structure/openlayers/maps, I still only see the controls but don't see the map itself.
Comment #2
polIs the example_bing map working for you ?
Comment #3
cesareaugusto commentedNope. None of my maps on none of my Drupal installs work with the Bing base layers. It seems a module bug as they used to work before the update.
Comment #4
polStupid question but, did you filled-in your API key in admin/structure/openlayers/layers/settings to use Bing ?
Comment #5
cesareaugusto commented@Pol: Stupid question... for a dummy user LOL Thanks mate! You solved my problem! VirtualEarth maps used to work with no need of a key.
Comment #6
pol