Is it possible to use Mapstraction on an SSL website

428 Views Asked by At

I have carried out quite a bit of searching but it seems that you can't use Mapstraction on a SSL website. Has anyone been able to do this or would Leaflet/OpenLayers be the best option using a SSL tile provider.

Thanks in advance

1

There are 1 best solutions below

2
On

Mapstraction isn't a library you use on its own, its an abstraction layer that you use with one of the actual providers e.g. Google, Yahoo, OpenLayers, etc. Mapstraction doesn't have a problem with SSL and neither do any of the supported providers to my knowledge. You just need to ensure you specify https in your script tags.