I'm using data-driven styling to render my map, but when I load the page on a virtual machine under the company network I have this error:
The map is not a vector map. That will prevent use of data-driven styling.
Expanded error with stack trace
This only happens on this virtual machine under the company network. We are using ADMINISTRATIVE_AREA_LEVEL_1 and the new Advanced Markers. Both have the same issue with the map. The virtual machines were created with Hyper-V VMS
If I render on any other machine the map loads without an issue.
We even created a new virtual machine without any company configuration and we have this issue, the only thing that share is the same physical network.
Here is my mapOptions
mapOptions: {
// Center of USA lat lng as fallback default
center: { lat: 37.0902, lng: -97.0129 },
zoom: 4,
styles: null,
disableDefaultUI: true,
zoomControl: false,
gestureHandling: 'none',
region: 'US',
mapId: 'private-map-id'
},
Here is my call to Administrative Area 1
this.featureLayer = this.map.getFeatureLayer('ADMINISTRATIVE_AREA_LEVEL_1');
I'm using Google Chrome 110.0.5481.178, Edge 110.0.1587.57, Firefox 110.0.1 and I have the same issue.
Any idea on what is happening?