Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Maps In Unity 3D - Share your experience

Discussion in 'Assets and Asset Store' started by AlanGrant, Mar 7, 2018.

  1. sky_dragon

    sky_dragon

    Joined:
    May 27, 2016
    Posts:
    30
    Hi Alan,

    Hello, I want to know how to show all types of POI in 3D rendering. I notice that I can choose the type of POI to 3D render. but if choose all kinds of them, there are lots of work to do.

    Cheers
    Link
     
  2. jrblackmon89

    jrblackmon89

    Joined:
    Aug 8, 2020
    Posts:
    1
    Hello Alan, I cant seem to find the animatecharacter.cs script and when I try to copy the script on the tutorial page it won't work.
    I'm trying to get my avatar animated.
     
  3. AlanGrant

    AlanGrant

    Joined:
    Aug 27, 2016
    Posts:
    80
    Hi, that bug will be fixed in the upcoming release of GoDirections. Please replace this method inside GOToAddressDemo.cs
    Code (CSharp):
    1. public void DirectionsToAddress(GOLocation location)
    2.         {
    3.             inputField.text = location.addressString;
    4.             addressMenu.SetActive(false);
    5.             if (inputField.text.Length > 0 && gameObject.activeSelf) {
    6.                 switch (goDirections.directionsApi) {
    7.                     case GODirectionsAPI.Mapbox:
    8.                         StartCoroutine(goDirections.RequestDirectionsFromUserLocation(location.coordinates, null, travelMode));
    9.                         break;
    10.                     case GODirectionsAPI.Google:
    11.                         StartCoroutine(goDirections.RequestDirectionsFromUserLocationToAddress(goDirections.goMap.locationManager.currentLocation, location.addressString, travelMode));
    12.                         break;
    13.                 }
    14.             }
    15.         }
    You'll have to make a Key here: https://cloud.maptiler.com.
    Create your account then go to "Accounts" (settings icon) / keys / new key

    I Hope that helps!
     
  4. AlanGrant

    AlanGrant

    Joined:
    Aug 27, 2016
    Posts:
    80
    I've answered to you via email, but in short: There's no settings to show up all the poi kinds without adding a specific customization to each one of them. Do you think it could be a nice feature to add to GoMap?
    I always had the idea that showing too many pois kind would saturate the map area.
     
  5. ScottPeal

    ScottPeal

    Joined:
    Jan 14, 2013
    Posts:
    57
    Hi Alan,

    I want to use data from a source that is not one you have identified; however, the data is in ESRI Open Data format. Will this assets let me import that file and overlay on a map? Trying to decide to buy or not this asset.

    Thanks for the help.
     
  6. AlanGrant

    AlanGrant

    Joined:
    Aug 27, 2016
    Posts:
    80
    Hi Scott,

    If your source is open you could send me an email to see together if it is compatible with GoMap, otherwise it should be compliant to the Mapbox PBF standard.

    About overlaying the map with additional info, the format should be the same. For example you can't import esri shapefiles in GoMap.

    Anyway feel free to write me more details about this API on my email or through my website, I'm curious about it.

    Bye!
     
  7. Mayckon_Jhonatas

    Mayckon_Jhonatas

    Joined:
    Apr 19, 2019
    Posts:
    3
    @AlanGrant is it possible to exchange the red sphere for a prefab or for a specific gameObject (similar to a pokestop) in the "Drop features - Demo" scene?
     

    Attached Files:

  8. Falondrian

    Falondrian

    Joined:
    Dec 4, 2018
    Posts:
    38
    @AlanGrant could you please add an event to the location manager for when the current speed changes? The MotionState event is nice but it kinda makes assumptions on what the developer wants. For now I added it myself but I would like to stay compatible for future updates.
     
  9. sky_dragon

    sky_dragon

    Joined:
    May 27, 2016
    Posts:
    30
    Thank you for your answer. I have one more question. I want to get the player's GPS coordinates in other scene. Do you have a built-in method?

    I found that Unity has Input.location.Start(). But I am not sure if it is the same as yours.
     
  10. mshmoon1025

    mshmoon1025

    Joined:
    Sep 3, 2020
    Posts:
    1
    I have elevation data in text format. And we have Tile images for each area.
    Referencing the GO Map API Documentation, I saw a section describing the available map APIs.
    I want to use GO Map as a satellite map as a text type elevation data and tile image without using the map API.(Use on Offline PC)
    It will decide whether to buy or not, depending on the possibility.

    Thank you for your help.
     
  11. Rhach

    Rhach

    Joined:
    Jun 5, 2016
    Posts:
    1
    Hello there Alan, I have this asset for quite some time but just now started working with it and I can already say that it is impressive.
    I have a question though.
    Is there a way to instantiate a button on the canvas on specific coordinates? I tried to do so and it appeared way off.
    Thanks in advance!
     
  12. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    101
    Hey :) Great work on the asset. Loving it so far. Got one question tho.

    It seems like I'm missing a simple yet crucial function here. We can do Avatar movement but then we can't get the location from GPS, it seems like it has to be a pre-set one which feels like it's kinda no-brainer. We can do GPS movement but then we can't use custom buttons to move the avatar. Does your asset have a way around this? :) What I basiaclly want to do is, Get the first location from GPS, then allow for custom movement with buttons/keys.

    Any help would be appreciated :)
    Thanks a lot.
     
  13. playbarbados

    playbarbados

    Joined:
    Mar 10, 2015
    Posts:
    4
    I made a purchase of GoMap asset and currently trying to use it in one of my projects but keep getting this error on build --->
    C:\Users\************\Documents\PROJECTS\***************\app-development-backup\Temp\gradleOut\launcher\src\main\AndroidManifest.xml Error: uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library [:androidwrapper:]

    There are no other assets in the project other than the IndoorAtlas as recommended in the documentation. (which has the 'androidwrapper' folder.
     
    Last edited: Dec 3, 2020
  14. playbarbados

    playbarbados

    Joined:
    Mar 10, 2015
    Posts:
    4
    Nevermind: I got it sorted out....
     
  15. AlanGrant

    AlanGrant

    Joined:
    Aug 27, 2016
    Posts:
    80
    Hey, thanks!
    Location manager have a Gps and an Avatar mode. You basically just have to switch from one to the other when you decide not to follow gps anymore.
    Bye!
     
  16. danidiazr

    danidiazr

    Joined:
    Dec 27, 2016
    Posts:
    16
    Hi there,

    I sent you a support inquery in your support form from the documentation page, I'm in a rush.

    I'm unable to make the plugin generate a map in the location i'm setting. I got the same map in build from the demo location in editor. I'm using the Avatar mode and I don't know if I have the settings good.

    Any help?
     
  17. yonson_chappers

    yonson_chappers

    Joined:
    Feb 6, 2017
    Posts:
    28
    does anyone know how to get support for this asset? tried email, this forum doesn't seem to do any responses either? Location is never found on the actual device / crashes on iOS on an iphone (but not in unity).
     
  18. kkamal2

    kkamal2

    Joined:
    Jul 7, 2018
    Posts:
    1
    Hey Alan and others,

    Hoping someone here could help answer a couple of questions for me about the API usage on GoMaps and GoDirections:
    1) For Gomaps, Is it using the mapbox unity sdk?
    2) For Godirections, Is it using the mapbox navigation sdk?

    I'm trying to understand cost/user perspective on my app and would appreciate your support as Mapbox has varying pricing for the different api/sdks they offer
     
  19. thatnzguy

    thatnzguy

    Joined:
    Jun 8, 2015
    Posts:
    9

    GOMaps (including GODirections I expect) supports these APIs

    https://gomap-asset.com/docs/go-map-documentation/getting-started/map-apis-and-formats/
     
  20. thatnzguy

    thatnzguy

    Joined:
    Jun 8, 2015
    Posts:
    9
    In MapGO I had a bug in the unmodified demo scenes where features were being duplicated causing performance to be pretty terrible in certain locations.

    I located the source of the bug, this loop was being run twice creating n^2 instances of multi-polygon features
    @AlanGrant Remove these two lines to fix the bug :)

    upload_2021-1-20_12-44-16.png
     
    shyamarama likes this.
unityunity