MapKit JS

RSS for tag

Embed interactive Apple maps on your website, annotate points of interest, and perform geo-related searches using MapKit JS.

Posts under MapKit JS tag

127 Posts

Post

Replies

Boosts

Views

Activity

UserLocation stops updating when map is touched
My issue is essentially the same described in MKUserLocation stops updating when map is touched, except for Mapkit JS. That question has been left without answer and the chat has been removed so I'm left wondering what the outcome was. In short, I create a Mapkit JS map, I set: map.tracksUserLocation = true; map.showsUserLocation = true; This shows and tracks the user's position on the map. Once I pan/zoom the map map.tracksUserLocation is set to false (as it should). However the user's dot stops updating entirely as well. I have ran some testing and it looks that if I initially only set map.showsUserLocation to true but don't specify wether the map should track the user's location, the user's dot will simply not show up at all. I can override this behaviour by constantly setting both variables to true, but as you can imagine the experience is awful. My code is essentially the bare basics. const map = new mapkit.Map('map'); map.tracksUserLocation = true; map.showsUserLocation = true; // ... <div id="map" /> I'm pretty sure this isn't supposed to happen, but it seems like a very obvious issue for it to be present for 5 years on both native and JS Mapkit libraries.
0
0
695
Feb ’22
How to correct the name of the street on the Apple map
Is anybody who can help to correct the name of the street Grant Vardanyan in English language on the Apple map? The street is situated in Masis town, Armenia. Latitude 40.0634, Longitude 44.3389.The postal code is 0802. The first name of the street is Hrant not Grant. The first letter of the first name is (H), and not (G). There is a misspelling. Right spelling is Hrant with (H), not with (G) Grant. Link in Map (https://maps.apple.com/place?address=Grant%20Vardanyan%20street%2C%20Armenia&ll=40.064079%2C44.398792&q=Marked%20Location&_ext=EiYpvnTXN5sHREAxpznU%2FUoyRkA5PEr9k8EIREBB%2FWeFnMszRkBQBA%3D%3D&t=m&fbclid=IwAR3S2kvGn6yxIA3MM8duRmQ_4BCUIuAtqLl175jO0WbwHym0dVxod0DErzI  I also want to share with you other maps links where the Hrant Vardanyan street (in Masis town) is written (spelled) correctly. Maybe these links will help the internal team to work on our issue. See the attached links:  Google map - https://www.google.com/maps/place/Hrant+Vardanyan+St,+Masis+0802/@40.064176,44.4112118,16.75z/data=!4m5!3m4!1s0x406ac6e0419443ef:0x95a313071e008374!8m2!3d40.063254!4d44.4112632?hl=en 2.Yandex map - https://yandex.com/maps/116121/masis/geo/3750522170/?ll=44.414126%2C40.064158&z=15.98
1
0
793
Nov ’21
How to put vending machines locations to Apple Map?
Hi there. Our company provides on the go charger rental services. We have 600 vending machines across the US. Our vending machines are charging machines with portable chargers inside. We have our app and our customers can find a charging machine using an app map. Our machines are located in restaurants, malls, airports etc. We want to put our machines' locations on Apple Map. It can help our customers to find a charging machine and rent a charger. Please advise us how can we make it?
0
0
1.1k
Nov ’21
UserLocation stops updating when map is touched
My issue is essentially the same described in MKUserLocation stops updating when map is touched, except for Mapkit JS. That question has been left without answer and the chat has been removed so I'm left wondering what the outcome was. In short, I create a Mapkit JS map, I set: map.tracksUserLocation = true; map.showsUserLocation = true; This shows and tracks the user's position on the map. Once I pan/zoom the map map.tracksUserLocation is set to false (as it should). However the user's dot stops updating entirely as well. I have ran some testing and it looks that if I initially only set map.showsUserLocation to true but don't specify wether the map should track the user's location, the user's dot will simply not show up at all. I can override this behaviour by constantly setting both variables to true, but as you can imagine the experience is awful. My code is essentially the bare basics. const map = new mapkit.Map('map'); map.tracksUserLocation = true; map.showsUserLocation = true; // ... <div id="map" /> I'm pretty sure this isn't supposed to happen, but it seems like a very obvious issue for it to be present for 5 years on both native and JS Mapkit libraries.
Replies
0
Boosts
0
Views
695
Activity
Feb ’22
How to correct the name of the street on the Apple map
Is anybody who can help to correct the name of the street Grant Vardanyan in English language on the Apple map? The street is situated in Masis town, Armenia. Latitude 40.0634, Longitude 44.3389.The postal code is 0802. The first name of the street is Hrant not Grant. The first letter of the first name is (H), and not (G). There is a misspelling. Right spelling is Hrant with (H), not with (G) Grant. Link in Map (https://maps.apple.com/place?address=Grant%20Vardanyan%20street%2C%20Armenia&ll=40.064079%2C44.398792&q=Marked%20Location&_ext=EiYpvnTXN5sHREAxpznU%2FUoyRkA5PEr9k8EIREBB%2FWeFnMszRkBQBA%3D%3D&t=m&fbclid=IwAR3S2kvGn6yxIA3MM8duRmQ_4BCUIuAtqLl175jO0WbwHym0dVxod0DErzI  I also want to share with you other maps links where the Hrant Vardanyan street (in Masis town) is written (spelled) correctly. Maybe these links will help the internal team to work on our issue. See the attached links:  Google map - https://www.google.com/maps/place/Hrant+Vardanyan+St,+Masis+0802/@40.064176,44.4112118,16.75z/data=!4m5!3m4!1s0x406ac6e0419443ef:0x95a313071e008374!8m2!3d40.063254!4d44.4112632?hl=en 2.Yandex map - https://yandex.com/maps/116121/masis/geo/3750522170/?ll=44.414126%2C40.064158&z=15.98
Replies
1
Boosts
0
Views
793
Activity
Nov ’21
MapKit JS Cluster refreshing
Hello, When I refresh map with clusters, they fall to annotations, then gather them again. Of course, it's not an animation, it's the cluster's style work. It looks awful. I played with background and foreground maps, seems it doesn't work. Please, advise.
Replies
0
Boosts
0
Views
899
Activity
Nov ’21
How to put vending machines locations to Apple Map?
Hi there. Our company provides on the go charger rental services. We have 600 vending machines across the US. Our vending machines are charging machines with portable chargers inside. We have our app and our customers can find a charging machine using an app map. Our machines are located in restaurants, malls, airports etc. We want to put our machines' locations on Apple Map. It can help our customers to find a charging machine and rent a charger. Please advise us how can we make it?
Replies
0
Boosts
0
Views
1.1k
Activity
Nov ’21