Zum Hauptinhalt gehen

Geolocate zoom factor?

Kommentare

4 Kommentare

  • Permanently deleted user

    Bump! Still interested in this feature...or at least drop a pin on the location?

    0
  • Permanently deleted user

    Tim,

    You can set a zoom level in the json config files for your viewer. For example - c:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Public\REST Elements\Sites\<site name>\Viewers\<viewer name>\VirtualDirectory\Resources\Config\Default\handheld.json.js . There is a section for the geolocate module. Search for "id": "GeolocateViewModel".  in the configuration section, you can edit the zoom level. It defaults to 50k. Change it as follows for example:

    "geolocateExtentZoomLevel": "3000",

    You'll want to make this change at least for the handheld and the tablet config files.

    0
  • Permanently deleted user

    We are talking about using the global search bar to search an address, click on the result, and have the map zoom into a desireable scale right? I have no effect with changing the GeolocateViewModel ExtentZoomLevel. Might this control the geolocate tool or module rather than the global search geolocate, or do these features share the same tool?  

    "viewModels": [

     

              {

     

                "id": "GeolocateViewModel",

     

                "type": "geocortex.essentialsHtmlViewer.mapping.modules.geolocate.GeolocateViewModel",

     

                "configuration": {

     

                  "geolocateEnabled": true,

     

                  "trackingEnabled": true,

     

                  "followingEnabled": true,

     

                  "enableHighAccuracy": true,

     

                  "geolocateAccuracyCircleEnabled": true,

     

                  "adjustExtentZoomOnGeolocate": true,

     

                  "geolocateExtentZoomLevel": "1000",

     

                  "geolocationIndicator": "Resources/Images/Icons/geolocate-position-32.png"

     

                }

     

     
    0
  • Permanently deleted user

    I think the thread is about what happens when a user taps the geolocate icon, on a phone say.

    David, address results (when clicked in results panel), at least for my apps, default to a certain zoom scale, and I dont know how to change that. Looks like its not configurable, but maybe someone else knows?

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.