You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Whenever i try to load a google v3 base layer other than the default i always get the default.
e.g. the following code loads google streets layer (taken from the demo):
$(document).ready(function() {
$('#map').mapQuery({
layers:[{ type:'google', view:'terrain' }] });
});
When i modified the return of the function
google: function(options) //Line 1056 of jquery.mapquery.core.js
to return the layer label together with the layer type, it works fine:
return {
layer: new OpenLayers.Layer.Google(
o.label, //added this line
{type:view}),
options: o
};
Please review,
Thanks
yiannis
The text was updated successfully, but these errors were encountered:
Hi,
Whenever i try to load a google v3 base layer other than the default i always get the default.
e.g. the following code loads google streets layer (taken from the demo):
$(document).ready(function() {
$('#map').mapQuery({
layers:[{ type:'google', view:'terrain' }] });
});
When i modified the return of the function
google: function(options) //Line 1056 of jquery.mapquery.core.js
to return the layer label together with the layer type, it works fine:
return {
layer: new OpenLayers.Layer.Google(
o.label, //added this line
{type:view}),
options: o
};
Please review,
Thanks
yiannis
The text was updated successfully, but these errors were encountered: