0

ViewRanger has a custom map which can be zoomed and scrolled on the Apple Watch. I didn't find any way to add extra layers to WKMapView. The emphasis is on "custom", so I want to have a topological map with my own tile /vector source. How can I create something similar?

gklka
  • 2,459
  • 1
  • 26
  • 53
  • may it helps: https://www.spaceotechnologies.com/build-apple-watch-app-watchkit-tutorial/ – Abhishek Thapliyal Mar 05 '20 at 11:19
  • 1
    Did someone answered to this question? I was able to reproduce what ViewRanger is doing, basically you can use the static png from the tile server and render it as a texture in a SpriteKit view. But this is not vectorial. WorkOutDoors app has a pure vectorial map and it is fantastic, but I do not understand how it is done. – Enrico Pallazzo Jan 28 '21 at 12:48
  • @gklka did you ever find a solution? I'd like to have the same outcome. Custom map-tiles on an Apple-Watch – Georg Oct 18 '22 at 12:03
  • @Georg: I never did it myself, but several apps achieved results using SceneKit and MapKit, like Kartasto and WorkOutDoors. – gklka Oct 18 '22 at 16:01
  • Thanks for the reply @gklka. Yep I already learned from the developer of WorkOutDoors about that. Not sure if I want to go down that rabbit hole though :) – Georg Oct 20 '22 at 06:08

1 Answers1

0

You have to track gestures separately and call setRegion(_ coordinateRegion: MKCoordinateRegion) method on your WKInterfaceMap object to scroll/zoom map.

Lieksu
  • 71
  • 4
  • My question was not clear enough, sorry. I am looking for a way for adding custom map styles, like topographic maps. – gklka Mar 05 '20 at 12:28