# Here Map Tiles - provider URL changed and cant add provider in AxMap V 5.2.4.0

**URL:** <https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850>\
**Category:** MapWinGIS\
**Created:** [December 31, 2020, 12:30am UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850 "2020-12-31T00:30:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TLee](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@TLee](https://mapwindow.discourse.group/u/TLee)\
**Post date:** [December 31, 2020, 12:30am UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850/1 "2020-12-31T00:30:14Z")

</div>

Hi All,  
Have notice that the “Here Maps” tile provider URL for terrain, hybrid or satellite has changed and is not operational in AxMap V5.2.4.0. The base standard “Here” map URL is working.  
The new URL is  
https://%[c.aerial.maps.ls.hereapi.com/maptile/2.1/maptile/newest/terrain.day/%d/%d/%d/256/png8](http://c.aerial.maps.ls.hereapi.com/maptile/2.1/maptile/newest/terrain.day/%25d/%25d/%25d/256/png8)  
where the one that is in the program is  
http://%[c.aerial.maps.api.here.com/maptile/2.1/maptile/newest/terrain.day/%d/%d/%d/256/png8](http://c.aerial.maps.api.here.com/maptile/2.1/maptile/newest/terrain.day/%25d/%25d/%25d/256/png8)

Also, have found an issue where it is not possible to add a tile provider in this version when compiling as 64bit with the following:

```
        Dim ans As Integer = AxMap1.Tiles.Providers.Add(17, "HereTerrain", "https://1.aerial.maps.ls.hereapi.com/maptile/2.1/maptile/newest/terrain.day/{z}/{x}/{y}/256/png8", tkTileProjection.SphericalMercator, 0, 18)

```

The above throws a System.AccessViolationException.

The code compiles okay when 32 bit build is set, but the version of MapWin changes to 4.9.XX, and other isssues seperate from above occur.

Again, any help appreciated,  
Regards

Terry

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [December 31, 2020, 2:01am UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850/2 "2020-12-31T02:01:44Z")

</div>

Hello Terry.

I you don’t mind building a debug version of the 64-bit OCX, we can then determine where the Exception is being thrown, and then hopefully determine a fix.

Regards,  
Jerry.

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [December 31, 2020, 2:09am UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850/3 "2020-12-31T02:09:36Z")

</div>

Regarding the URL, it looks like all of the HERE provider definitions in the OCX (Maps, Satellite, Hybrid, and Terrain) are using the “http” protocol. Should they all now be ‘https’ ?

---

<div class="post-metadata">

**Author:** ![TLee](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@TLee](https://mapwindow.discourse.group/u/TLee)\
**Post date:** [January 4, 2021, 9:38am UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850/4 "2021-01-04T09:38:10Z")

</div>

Morning Jerry/All,  
Have fixed the issue with the exception on adding the tile providers. The issue of the exception also was seen when loading a shape file from a PostGIS datbase using the Ogr facility.  
The issue was having legacy versions of the OCX registered and on the machine, and using the 64 bit version with VS2017.  
It was fixed by unisnatlling and unregistering the OCX using the unregMapWinGIS.cmd and re-installing the latest version as 32 bit only, (not 64 Bit, as using VS2017 with [vb.net](http://vb.net)). I had also installed the 64 bit at some stage but noticed the comment "_This is because Visual Studio cannot handle 64-Bit ActiveX controls."_ on the install instruction web page for the control.

The issue with “Here” maps is still present, and this is due to the inbuilt server url being different to the latest version, with modified line of " _.ls.hereapi.com/maptile/2.1/_" compared to " _.aerial.maps.api.here.com/maptile/2.1/"_ and also being https.

Thanks for your help on this, stay safe,  
Regards  
Terry

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 10, 2022, 2:44pm UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850/5 "2022-01-10T14:44:28Z")

</div>

I created [[MWGIS-243] Not all tile providers are still working - MapWindow5 - Issue tracker (atlassian.net)](https://mapwindow.atlassian.net/browse/MWGIS-243) for this, so we don’t forget.

I’ll close this topic.

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 10, 2022, 2:44pm UTC](https://mapwindow.discourse.group/t/here-map-tiles-provider-url-changed-and-cant-add-provider-in-axmap-v-5-2-4-0/850/6 "2022-01-10T14:44:32Z")

</div>


