Re: Data Entry Helpers: Google and georeference problem
Hi,
if I use "data_entry_helper::georeference_lookup" together with google layers in data_entry_helper::map_panel i get errors like this:
"Requested preset layer google_physical is not recognised."
"Requested preset layer google_satilite is not recognised."
And the google layers are not shown in the map pannel. If I just remove the georeference_lookup the google layers are shown fine.
Here is the code I use:
echo data_entry_helper::sref_and_system(array(
'label'=>'Spatial Reference'
));
echo data_entry_helper::georeference_lookup(array(
'label'=>'Search for place',
'georefCountry'=>'Germany',
'georefPreferredArea'=>'Mecklenburg-Vorpommern',
'driver'=>'geoplanet'
));
echo data_entry_helper::map_panel(array(
'presetLayers' => array('multimap_landranger','openlayers_wms', 'virtual_earth', 'multimap_default', 'google_hybrid','google_physical', 'google_streets', 'google_satellite')
));