CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript programming (http://www.codingforums.com/forumdisplay.php?f=2)
-   -   Image over an Image (http://www.codingforums.com/showthread.php?t=285953)

Scott.Paananen 01-17-2013 07:20 PM

Image over an Image
 
Hello everyone,

I have a project that i am working on. It is still in the planning stage, but i need to know if/how i can do this before i can continue to plan it.

What i am looking to do is to mark positions on a map based on user input. The map wil be an image, or google maps (still in planning stage). So what i need to know is if i can use javascript to place a marker on the map image i have. To show their progress.

Using google maps is an idea, but i can't jump to that option yet until i know what map i will be using, it might just be a simple map someone made for this.

So, is this possible? Can this be done with javascript? if not, what would the best language to use be? I hope i am clear enough with what i am looking for.

Airblader 01-17-2013 07:24 PM

No need for JavaScript – this is simple HTML/CSS.

With all due respect ... if you lack this kind of knowledge, you are gonna wanna do a lot of learning before tackling anything that could be called "project", because you will need a lot more skills. I'm all for people learning stuff, but start out simple, otherwise you will set yourself up for a big disappointment.

air

Old Pedant 01-17-2013 10:30 PM

Quote:

Originally Posted by Airblader (Post 1306944)
No need for JavaScript – this is simple HTML/CSS.

Well, yes. Except that if he wants the user to be able to click on a spot on the map and then place the marker at the clicked-on spot, that will involve JavaScript.

But Air is right in that it is pretty simple JavaScript.

On a side note: Are you aware that the Google Maps API can be used with your own custom map? That is, you can supply images, properly set up, and then Google Maps will show them with all the features of any other Google Map. More than likely, this approach is overkill for your project, but keep it in mind.

Airblader 01-18-2013 07:23 AM

True, for the interaction you need (basic) JavaScript. My comment about it only being HTML/CSS was simply answering the "image over an image" question. :)

air


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.