Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

VisMap - OSM Map Integration

Discussion in 'Assets and Asset Store' started by dojoman, Jul 28, 2014.

  1. dojoman

    dojoman

    Joined:
    Jul 24, 2014
    Posts:
    278
    VisMap - OSM Map Integration

    Do you need an Open Street Map integration?

    I created a project called VisMap - OSM Map Integration, which you will find here: http://u3d.as/7QH



    Features of current version 1.2.0
    • An integration of OpenStreetMap (OSM) services into Unity, similar to google maps.
    • Four different OSM map services are currently support. More can be configured easily.
    • Runtime switch between map services (map, satellite, etc.).
    • Camera movement for desktop (mouse) and mobile devices (touch).
    • Load map tiles automatically for configured markers (lat, lng).
    • Reset cache functionality.
    • Documentation inside code and additional PDF document included.
    • Works on both Unity and Unity Pro.

    Video:


    I would appreciate feedback to evolve the project to give you a better experience.

    Thanks a lot for reading!
     
    Last edited: Feb 10, 2015
    Geoneer likes this.
  2. dojoman

    dojoman

    Joined:
    Jul 24, 2014
    Posts:
    278
    Please change the configuration of "MapBox-Satellite" at Url to: http://otile1.mqcdn.com/tiles/1.0.0/sat/

    Because the previous Url seems not available anymore.

    I recently submitted the corresponding fix to the Asset Store. Should be available as fixed version 1.1.1 within next days.

    Best regards.
     
  3. Geoneer

    Geoneer

    Joined:
    Aug 14, 2014
    Posts:
    3
    looks nice! I will give this a try! :)
     
  4. dojoman

    dojoman

    Joined:
    Jul 24, 2014
    Posts:
    278
    Thanks! If you have questions you could also send a request to support@assetcrew.com.
     
  5. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    Is there a Zooming functionality?
    I mean when I move my camera closer to a "marker", will it load the new closer maps?
     
  6. dojoman

    dojoman

    Joined:
    Jul 24, 2014
    Posts:
    278
    Thank you for the question. This is not included, but i will put it on the list for next features if you want. Should not take too long to implement it.
     
  7. Emysa341

    Emysa341

    Joined:
    Jun 14, 2015
    Posts:
    2
    Hi dojoman , I need this project, Can you please give this to me I will be grateful to you
     
  8. Jesus-kari

    Jesus-kari

    Joined:
    Jun 5, 2015
    Posts:
    2
    Hi, there!:)
    Excuse me, do you have a map resource in this plugin in your local or online, can you show up in a hierarchical display? How many layers can be divided?
     
  9. dojoman

    dojoman

    Joined:
    Jul 24, 2014
    Posts:
    278
    Hi.

    The map creation process works as follows:
    • You set up one or more markers with lat and lng coordinates (amongst a title and marker type etc.)
    • The map loader takes the coordinates and send them to one of the configured open street map services, depending on what service is currently active (there is demo included showing how to switch those services on runtime)
    • This loading request is a simple GET request which loads a corresponding map tile for the given coordinates
    • If you have two or more markers the map tiles between them will be loaded to fill the area to a quadratic map
    • There is also a caching to avoid unnecessary reloads of the map tiles (in the demo you will find a button to clear the cache on runtime)
    Layers are not included out of the box, but you could make little modifications to enable that.

    Cheers.