Click here to Skip to main content
15,914,608 members

Comments by pokemonjohn (Top 3 by date)

pokemonjohn 11-Oct-19 4:52am View    
Example of code.

var apple_token = [my token];
mapkit.init({
authorizationCallback: function (done) {
done(apple_token);
},
});

var map = new mapkit.Map("map_canvas", { center: new mapkit.Coordinate(54.0000, -1.1000) });
map.setCameraDistanceAnimated(30000, true);


I then get these errors:

shield:1 GET https://cdn4.apple-mapkit.com/md/v1/shield?text=A1(M)&id=2600&scale=1&overlay=00000000&v=1910104&accessKey=1570785693_50316110972973744_%2F_XZaodPvntmOPcp1IxGlQo17S9038Pw6HJ2keHz1FopY%3D 400 (Bad Request)


they only seem to appear when road names have BRACKETS in them
pokemonjohn 10-Oct-19 12:29pm View    
Why thanks - the fact that's the error is occurring on the APPLE website as well as my own code - i thought it was best to direct the question about the apple Mapkit js

and the fact that error seems to be only occurring for UK roads - probably because we have brackets in some of the names
pokemonjohn 20-Dec-12 9:03am View    
My server has 2 network adapters - 1 is a physical card the other is a VPN.

I have connections coming into the server and been picked up by the UDP listener when the data come via the physical network card.

When data comes in via the VPN the listener does not pick it up. I know data is coming in as wireshark is picking it up - it all looks good - the only difference is the adapter routing the data.