Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-17-2013, 07:20 PM   PM User | #1
Scott.Paananen
New to the CF scene

 
Join Date: Jan 2013
Location: Ontario
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Scott.Paananen is an unknown quantity at this point
Question 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.
Scott.Paananen is offline   Reply With Quote
Old 01-17-2013, 07:24 PM   PM User | #2
Airblader
Regular Coder

 
Join Date: Jan 2013
Location: Germany
Posts: 356
Thanks: 3
Thanked 43 Times in 43 Posts
Airblader can only hope to improve
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
Airblader is offline   Reply With Quote
Old 01-17-2013, 10:30 PM   PM User | #3
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,178
Thanks: 59
Thanked 3,995 Times in 3,964 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Quote:
Originally Posted by Airblader View Post
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.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 01-18-2013, 07:23 AM   PM User | #4
Airblader
Regular Coder

 
Join Date: Jan 2013
Location: Germany
Posts: 356
Thanks: 3
Thanked 43 Times in 43 Posts
Airblader can only hope to improve
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
Airblader is offline   Reply With Quote
Reply

Bookmarks

Tags
images, javascript

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:13 PM.


Advertisement
Log in to turn off these ads.