开发者

Free commercial maps with SSL support

开发者 https://www.devze.com 2023-03-14 06:09 出处:网络
The commercial web app I am developing resides inside an SSL environment. I have been using Yahoo Maps up until now when I realised that when I switch to my secure SSL environment YMaps breaks the SSL

The commercial web app I am developing resides inside an SSL environment. I have been using Yahoo Maps up until now when I realised that when I switch to my secure SSL environment YMaps breaks the SSL certi开发者_如何转开发ficate. I know Google Maps now offer SSL support but do not allow for commercial use unless you upgrade to Premier for a mere $10,000 dollars a year! This is out of the question for my tiny start-up.

Basically I need a free mapping service that will deliver all content from an https domain. Does this exist?


Even if it does exist, a couple considerations:

1) You get what you pay for: will the 'free ssl maps' be the same quality as google/yahoo maps? Will they even be close?

2) Unless its a treasure map, why do they need to be served under ssl? They don't have any user-specific information in them (assuming you use client-side javascript to tag/mashup)

3) As for the cert issue, look into protocol neutral urls, granted you will have to suck it up and not mind having a pop up in IE 6


Ended up using leafletJS maps which allows you to specify the URL of your map tiles. I passed the tile image file contents through a very simple PHP proxy page on my server. That way the SSL is not broken by the client-side requesting resources from an unsecure http domain.

Word of warning on PolyMaps: IE<9 does not run them as they require SVG support. Found this out the hard way!

If anyone wants more info on how I solved my problem just comment back.

0

精彩评论

暂无评论...
验证码 换一张
取 消