Problem with Map Layers Google map

godfreyjh6 years ago

Hi

For custom map I set up

http://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}

No joy only a bank screen

Satellite only
http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}

Same with this one.

Any idea's suggestions recommendations helpful pointers.

I did go through the forum history but did not see anything covering this topic,

Thanks in advance

Regards
Godfrey

Slawek6 years ago

try:

  1. set this layer map

https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}.png
reload page

  1. change file app.min.js

/opt/traccar/web

https://mega.nz/#!38EiRKzJ!A89JZiXH0xgMZbnZbKhKxrieJbBkVNdHSWkCpT5bIi8

  1. change file BaseMap.js

/opt/traccar/web/app/view/map

https://mega.nz/#!6wVgRIjR!MZL11VqRhOfg7Zgm9A8E3vzdOWajLY6jpXS7eXEFbrA

  1. restart traccar service

systemctl restart traccar.service

  1. set this layer map
    http://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}

  2. reload page

let me know if work

Anton Tananaev6 years ago
godfreyjh6 years ago

Hi

Thanks guys for all those who responded.

I just read the links. I think I will wait for the next release. I am not keen to mess around with the installation.

Many thanks and regards to all