Re: Map program

Steve Litt <[email protected]>
Newsgroups gmane.org.user-groups.linux.svlug
Organization Troubleshooters.Com
Message-ID <[email protected]>
Thanks Ivan!

The links you mentioned gave me a framework for thinking, and led me to
some specific possibilities, including javascripting stuff inside an
<svg> element. Your information gave me a direction to go, after which
the rest was pretty much pre-ordained, and I now have a "hello world"
front-end-only clickable map at
http://troubleshooters.com/codecorn/clickmap/hello1.htm

Thanks for the help.

SteveT

On Mon, 24 Apr 2017 01:10:43 +0200
Ivan Sergio Borgonovo <[email protected]> wrote:

> 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
> >  
>
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.