Post

Replies

Boosts

Views

Activity

Reply to Street Names in Hybrid View
(Sorry I didn't use a code block previously. ) Hi, yes, thanks for the reply. Just any simple map, example is below. In hybrid view until a few days ago (I believe) you would get the road names overlaid on the map (along the roads), they now don't appear. They should appear according to the documentation "mapkit.Map.MapTypes.Hybrid - A satellite image of the area with road and road name layers on top." https://developer.apple.com/documentation/mapkitjs/map/maptypes/hybrid <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>MapKit JS Hybrid Map</title> <style> #map { width: 100%; height: 500px; } </style> </head> <body> <div id="map"></div> <script src="https://cdn.apple-mapkit.com/mk/5.x.x/mapkit.js"></script> <script> mapkit.init({ authorizationCallback: function(done) { //done("YOUR_MAPKIT_JS_TOKEN"); } }); var map = new mapkit.Map("map", { center: new mapkit.Coordinate(54.903261, -1.383740), span: new mapkit.CoordinateSpan(0.1 / Math.pow(2, 9), 0.1 / Math.pow(2, 9)), mapType: mapkit.Map.MapTypes.Hybrid }); map.region = new mapkit.CoordinateRegion( new mapkit.Coordinate(54.905500159702086, -1.380693010559071), new mapkit.CoordinateSpan(0.1 / Math.pow(2, 7), 0.1 / Math.pow(2, 7)) ); </script> </body> </html>
Oct ’24