Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rihab 104 posts 388 karma points
    Apr 09, 2019 @ 08:12
    Rihab
    1

    Search TextBox should be change based on pin location

    Hi guys,

    I'm facing a problem that when I search for a place then change the pin location the search text still the same, is there a way to make it in reverse??

    Thanks.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Apr 09, 2019 @ 08:36
    Jonathan Richards
    1

    Hi '

    Currently Terratype doesn't do Reverse Geocoding, There is a plan with code underway to add this feature to Terratype, but it is making slow progress and is part of something much bigger; The addresses that gets Reverse Geocoded is then indexed and placed on a V8 Content App map that can be used to edit multiple Terratype maps simultaneously or displayed via the Frontend Renderer with optional search functionality.

    This code is months away from being released.

    Sorry.

    Jonathan Richards

    Terratype Author

  • Rihab 104 posts 388 karma points
    Apr 09, 2019 @ 09:30
    Rihab
    0

    Thanks Jonathan for the fast replay...

    Ok that's fine, but can you help me with where can I edit the Terratype code to at least empty the search box after the search end ?

    Thanks again

  • Jonathan Richards 288 posts 1742 karma points MVP
    Apr 09, 2019 @ 12:28
    Jonathan Richards
    100

    Hi '

    As you haven't stated what version of Terratype you are using or which Provider you are using, I'm gonna presume its the latest Terratype with Google Maps.

    I could suggest adding the following js to /App_Plugins/Terratype.GoogleMapsV3/Scripts/Terratype.GoogleMapsV3.js straight after line 1639

    lookup.value = '';
    

    But I haven't tested it.

    Cheers

    Jonathan Richards

Please Sign in or register to post replies

Write your reply to:

Draft