Re: Map program

Ivan Sergio Borgonovo <[email protected]>
Newsgroups gmane.org.user-groups.linux.svlug
Organization http://www.WebThatWorks.it
Message-ID <[email protected]>
Once upon a time there were HTML image maps.

Programs as KImageMapEditor or gimp could help you to built them.

Since you'll need JS anyway I'm not even sure if they could be the most 
efficient way to achieve your target, but somehow you could start from 
HTML image maps to have at least a fall back alternative to a complete 
JS solution.

A more modern approach could possibly be to use the HTML5 canvas.

Clickable maps are a common problem for web programmers and there should 
probably be some examples and some library.

A quick google search came up with

http://www.outsharked.com/imagemapster/

https://makeaclickablemap.com/

http://www.image-maps.com/

https://github.com/kemayo/maphilight

https://developers.google.com/chart/interactive/docs/gallery/geochart

http://createaclickablemap.com/

...


On 04/24/2017 12:31 AM, Steve Litt wrote:
> Hi all,
>
> I need to write a web application that displays a map of the United
> States, part of Canada, Alaska, part of the Atlantic, Pacific, and Gulf
> of Mexico, and when the user clicks on a state, ocean, or Canada,
> return the result. For instance, when the user clicks on Montana, it
> should return either the string "Montana" or some sort of key whose
> value is Montana.
>
> My program should also be able to change the color of any state or
> combination thereof at the drop of a hat.
>
> My program does a lot of other stuff, but once my data is in terms of
> the name or key of a state or ocean, I know how to handle it. My
> question is how to assign a keystroke to a state, and how to change the
> color of a state.
>
> Thanks,
>
> SteveT
>
> Steve Litt
> April 2017 featured book: Troubleshooting Techniques
>      of the Successful Technologist
> http://www.troubleshooters.com/techniques
>
> _______________________________________________
> svlug mailing list
> [email protected]
> http://lists.svlug.org/lists/listinfo/svlug
>

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it http://www.borgonovo.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.