Google Maps API offline alternative

Papote
Papote used Ask the Experts™
on
I am trying to do a type of offline Google Maps like the example on this page.

http://maps.google.com/maps/ms?source=embed&hl=en&geocode=&ie=UTF8&msa=0&msid=112492115201367239282.0004609e0fcc239c4f792&ll=46.81084,-71.217113&spn=0.02056,0.038624&z=15

Basically, I want to mark certain areas in the map and have the marked items listed and be able to click on them and it shows it on the map. Something maybe using map image. I know I can do this on Google Maps API, but I need it to be offline. Is there something already available, so not to reinvent the wheel?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2011
Top Expert 2016

Commented:
Offline?  You mean you want Google to work when you are not connected to the internet?  Please explain a little more about your application needs, thanks.
leakim971Multitechnician
Top Expert 2014

Commented:
Most Valuable Expert 2011
Top Expert 2016

Commented:
Also, you need to be aware that the Google Maps API and Terms of Service changed significantly in the last few weeks.  But once you post back with a description of your application requirements, we may be able to help.  Best regards, ~Ray
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Author

Commented:
I just need a portion of a map. Not the whole map. Doesn't even have to be Google's map, just the functionality of the pins on the map.
Most Valuable Expert 2011
Top Expert 2016

Commented:
Can you please clarify what you mean by "offline" - do you want to go online and create a map, then save the image?

Thanks, ~Ray
Most Valuable Expert 2011
Top Expert 2016

Commented:
Also, please see this article:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_3350-Using-the-Google-Maps-API-in-PHP.html

You might try exercising that class to see if it will do what you want.  I think you could read the image file and store it for later use (not sure if that is OK with Google TOS, but you could ask them).

Author

Commented:
I provided Google Maps as an example.
Basically what I am trying to do is have a still map image and have place markers where I can view the list of place markers and be able to click on them and the area on the map be highlighted. Just as I can hover over the place marker on the map and have it be highlighted.
Most Valuable Expert 2011
Top Expert 2016
Commented:
OK, so long as you use Google Maps API and draw a Google Map together you're on firm ground.  The article tells EXACTLY how to do the mapping part.  All you have to do is add your "image map" information overlay to the process.

This is not really a question any more, so much as a need for application development and for that you would want to hire a developer.  Please read the article carefully about "Using the Google Maps API" and you will have enough information to talk with the developer intelligently about your needs.

This is the design pattern:

Create a multidimensional array containing place marker arrays.  For each place marker array you need the 'geocode' string, the URL of the marker icon, the name of the place, and the "hover" data you want to show at the onMouseOver event.

Create the static Google Map URL incorporating the information from the array of place marker arrays into the URL.

Generate the HTML <map> incorporating the information from the array of place marker arrays into the URL.
http://www.faqs.org/docs/htmltut/images/_IMG_USEMAP.html

Throw the <img> tag into your browser output with the src= attribute pointing to the Google URL and the usemap= attribute pointing to the image map you generated.

There is nothing technologically "hard" about this project, but it has a lot of moving parts that will need to be debugged on a pixel-by-pixel basis.  Since the Google Maps API allows you to draw a map that has over 400,000 pixels, I am sure you can understand why it will take a while to sort out the details about the coordination of the HTML <map> and the image rendered by Google.  That kind of time-consuming task is why we pay developers the big bucks.

Best of luck with your project, ~Ray
Most Valuable Expert 2011
Top Expert 2016

Commented:
Thanks for the points - it's a great question, ~Ray

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial