Is there a way to 'force' GMap API to send the referer ?
Thank you for your help.
Browsers don't allow JS to control the referer header. I suggest using an "access token":
1 - When you serve the HTML page, include a private hash of the date.
2 - When your JS forms a tile URL, append the access token.
3 - When your tile server receives a request, verify the access token is recent before returning the tile.
This is more secure than referer checking, as referers can be spoofed to steal your tiles.
Ben
Android brevity
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/IC7tI5wZG28J.
--You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/kZeCcoYBTGsJ.
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/QTvveRWrI5QJ.
Hi Ben (or anyone from GMaps support team),You can reproduce the bug using GMaps documentation example : https://google-developers.appspot.com/maps/documentation/javascript/examples/map-projection-simple?hl=fr-FRFor overlays with negative longitudes or latitudes, the overlays events don't work (nothing is fired). Strangely, that is not the case with positive longitudes and latitudes overlays.
Regards,Olivier
2011/9/28 surfish <ofor...@gmail.com>
Hi Ben,Thank you. It seems that there is no workaround solution from my side to avoid the double-fetch. I hope that a solution will come soon from GMap team side or Chromium team side.Regards,Olivier--To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/QTvveRWrI5QJ.
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-api-v3+unsub...@googlegroups.com.