[OpenLayers-Users] VEMapStyle is undefined when using mapcontrol
v7.0
Takako Tucker
Takako.Tucker at bbc.co.uk
Fri Mar 16 10:42:03 EDT 2012
Hello,
I wonder if you could help.
We are using Openlayers 2.11 and VirtualEarth map.
I'm now trying to upgrade the version of mapcontrol from 6.3 to 7.0 as
the older version is too heavy.
Currently I have getMapTypes function in our code
getMapTypes: function() {
return {
normal: VEMapStyle.Road,
satellite: VEMapStyle.Aerial,
hybrid: VEMapStyle.Hybrid
};
},
However when switching to 6.3c or 7.0, it throws an error "VEMapStyle"
is undefined.
I had a look ta mapcontrol 6.3c and 7.0 version and both don't seem to
have VEMapStyle references.
Does anyone know the right way of setting virtual earth tiles using 6.3c
or 7.0 ?
I tired pulling Bing tile direct, but that also caused an error.
Thanks for your help in advance.
Takako
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120316/ba989e98/attachment.html
More information about the Users
mailing list