Menu

googleMaps

Help
Alexandru
2016-05-14
2019-04-12
  • Alexandru

    Alexandru - 2016-05-14

    Hi Guys,

    I installed OpenGTS-2.6.1 on Fedora 23, with apache-tomcat-7.0.69.When i accesed my interface I had the following error message:
    [jsMapInit]
    Error initializing map
    map provider service may be temporarily unavailable
    Reference Error: google in not defined.

    How to resolve this issue.Your help would be greatly appreciated.

    Alex.

     
  • José Baena

    José Baena - 2019-04-11

    Hi Alex,
    I have the same problem, did you resolve the error?

     
  • tea4two

    tea4two - 2019-04-12

    Hi,

    have you configured map provider in private.xml file ?

    BTW, use checkinstall.sh to verify your setup.

    Regards,
    - Pierluigi

     
  • José Baena

    José Baena - 2019-04-12

    Yes I did,

    <mapprovider active="${Domain.MapProvider.active=true}" rtpropprefix="Domain.MapProvider." name="googleMaps" key="${Domain.MapProvider.key=MY KEY}" class="org.opengts.war.maps.jsmap.GoogleMaps"></mapprovider>

        <!-- Google Maps configuration -->
        <!-- <Property key="google.mapcontrol">http://maps.google.com/maps?file=api&v=2&sensor=true&key=...</Property> -->
        <Property key="google.version">3</Property>
        <Property key="google.sensor">true</Property>
        <Property key="google.channel"></Property>
        <Property key="google.useSSL">false</Property>
        <Property key="google.addWeatherOverlay">false</Property> <!-- These libraries do not currently exist -->
        <Property key="google.addCloudOverlay">false</Property>   <!-- These libraries do not currently exist -->
        <Property key="google.addTrafficOverlay">true</Property>
        <Property key="google.addPlacesSearch">true</Property>
        <Property key="google.addPlacesNearby">false</Property>
        <Property key="google.addOpenStreetMap">true</Property>
        <Property key="google.addBingMap">true</Property>
    
     

Log in to post a comment.