Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2013
    Location
    Ontario
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    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

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,700
    Thanks
    80
    Thanked 4,658 Times in 4,620 Posts
    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.

  • #4
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    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


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •