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
582
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
623
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
977
Nov ’21
Rename the street on the Apple map
Hi! The Shahamiryany Street in Yerevan's Shengavit administrative district, the Republic of Armenia, was renamed after Hrant Vardanyan on June 22, 2021. Please, rename the street on the Apple map. The postal code is 0061. Please see the attached link, which approves that the Shahamiryany Street renamed after Hrant Vardanyan https://www.panorama.am/en/news/2021/06/22/Yerevan-street-Hrant-Vardanyan/2524319/ I just want to share with you other maps links where the Shahamiryany street is already renamed to Hrant Vardanyan. 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,+Yerevan/@40.1459874,44.5050153,18.75z/data=!4m5!3m4!1s0x406abc056f3fd70b:0x28f86c1b00a22aa0!8m2!3d40.1468742!4d44.5034239 2.Yandex map - https://yandex.com/maps/10262/yerevan/geo/1695950987/?ll=44.502397%2C40.146560&z=17.8
4
0
1.1k
Nov ’21
SWIFT : how to create a delivery zone / area with maps (google or Apple)
Hello, I tried to create a an app for iPhone and I wanted to know how I can create a delivery zone for my application. For example if the customer isn’t inside the area he can’t order and if he is inside he can ! I’m still learning swift and I’m not a professional developer. Thank you so much and have a great day PS: I uploaded an image for the exemple
0
0
668
Oct ’21
Mapkit JWT url restriction and Safari Web Extensions
I want to use mapkit JS in a safari web extension I'm creating to show a map. When creating a new JWT I can restrict its use to certain URLs. It is possible to create an unbounded JWT, however this is not advised for production use (I guess for the obvious reason that someone might steal your key and use it themselves). It is possible to create a JWT that is limited to my safari web extension (or, less ideally, all safari web extensions)? Using safari-web-extension:// or safari-web-extension://* as restriction doesn't work. Using the whole web extension url (safari-web-extension://1e70cb50-300c-47b7-898c-5c082f836d7d) works, however this changed to a new random number every time safari is restarted.
0
0
677
Oct ’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
582
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
623
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
789
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
977
Activity
Nov ’21
Rename the street on the Apple map
Hi! The Shahamiryany Street in Yerevan's Shengavit administrative district, the Republic of Armenia, was renamed after Hrant Vardanyan on June 22, 2021. Please, rename the street on the Apple map. The postal code is 0061. Please see the attached link, which approves that the Shahamiryany Street renamed after Hrant Vardanyan https://www.panorama.am/en/news/2021/06/22/Yerevan-street-Hrant-Vardanyan/2524319/ I just want to share with you other maps links where the Shahamiryany street is already renamed to Hrant Vardanyan. 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,+Yerevan/@40.1459874,44.5050153,18.75z/data=!4m5!3m4!1s0x406abc056f3fd70b:0x28f86c1b00a22aa0!8m2!3d40.1468742!4d44.5034239 2.Yandex map - https://yandex.com/maps/10262/yerevan/geo/1695950987/?ll=44.502397%2C40.146560&z=17.8
Replies
4
Boosts
0
Views
1.1k
Activity
Nov ’21
SWIFT : how to create a delivery zone / area with maps (google or Apple)
Hello, I tried to create a an app for iPhone and I wanted to know how I can create a delivery zone for my application. For example if the customer isn’t inside the area he can’t order and if he is inside he can ! I’m still learning swift and I’m not a professional developer. Thank you so much and have a great day PS: I uploaded an image for the exemple
Replies
0
Boosts
0
Views
668
Activity
Oct ’21
Mapkit JWT url restriction and Safari Web Extensions
I want to use mapkit JS in a safari web extension I'm creating to show a map. When creating a new JWT I can restrict its use to certain URLs. It is possible to create an unbounded JWT, however this is not advised for production use (I guess for the obvious reason that someone might steal your key and use it themselves). It is possible to create a JWT that is limited to my safari web extension (or, less ideally, all safari web extensions)? Using safari-web-extension:// or safari-web-extension://* as restriction doesn't work. Using the whole web extension url (safari-web-extension://1e70cb50-300c-47b7-898c-5c082f836d7d) works, however this changed to a new random number every time safari is restarted.
Replies
0
Boosts
0
Views
677
Activity
Oct ’21