[behavior][plugin] google static map/google map

0 favourites
From the Asset Store
Google Analytics 4 Plugin for Construct 3 enables metrics and analytics for your games easily.
  • Awesome plugins! Thanks Rex.

    The marker plugin has a "draggable" function which crashes on startup...

  • hmott

    Fixed, thanks for this bug reporting.

  • Hi rexrainbow, is there capx that calculates the distance between two markers/pointers? road distance would be nice.

  • Gamekid

    I did not add this feature yet.

  • Hi rexrainbow, i got this error when try to add the plugin rex_googlestaticmap.

    i am not sure if others are having the same problem or not.

    ---------------------------

    HTML5 exporter

    ---------------------------

    Unable to load plugin in 'C:\Program Files\Construct 2\exporters\html5\plugins\rex_googlestaticmap\': Found 'GetPluginSettings' global, but it is not a function

    This plugin will not be available in the editor.

    ---------------------------

    OK

    ---------------------------

  • Gamekid

    Put rex_googlestaticmap into "behaviors" folder.

  • Hi Rex and friends,

    i write you on your site, but i don't know if i could.

    When i suse your GoogleMap API in preview, no problem.

    But when i put my application on the web, Firefox don't accept, with error i can see on Java Console.

    The map stay just a second before the error !

    In Firefox, no problem

    Dahu

    The Console say:

    "Failed to register service worker:

    SecurityError: The operation is insecure.

    navigator.serviceWorker.register("sw.js", { scope: "./" }) /applis/latlong/ (ligne 112)

    The proprieties « mozHidden » et « mozVisibilityState » are depreciates. Use « hidden » et « visibilityState ».

    ...nt["hidden"] || document["webkitHidden"] || document["mozHidden"] || document["m... c2runtime.js (ligne 4959) 8 Error: WebGL: texImage2D: Chosen format/type incured an expensive reformat: 0x1908/0x1401 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, _16bit ? gl.UNSIGNED_SHORT_4_4... c2runtime.js (ligne 3318, col. 4) 48.859939386 , 2.336528381 c2runtime.js (ligne 15604) Error: WebGL: texImage2D: Chosen format/type incured an expensive reformat: 0x1908/0x1401 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, _16bit ? gl.UNSIGNED_SHORT_4_4... c2runtime.js (ligne 3318, col. 4) Google Maps API warning: NoApiKeys https://developers.google.com/maps/docu ... o-api-keys util.js (ligne 210)

    Google Maps API error: MissingKeyMapError https://developers.google.com/maps/docu ... -map-error

    ...on(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};_.kb=function(..."

  • Update

    rex_googlemap_api plugin, add property "API key".

    Set api key in property "API key", designer could ignore it when preview.

    dahu

    Here it is.

  • I don't know if i have good understand..

    Where rex_googlemap_api add the property "Api key"? i don't found.

    Where do i set the api key, in the property of what?

    i follow your url i try to get API key in the Google API console, but no effect...

    And the preview run, it's on web i have an error with Firefox and chrome

    ???

  • dahu

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • rexrainbow

    I had seen at this properties, but i have just :

    • Initial loading yes
    • Language code
    • API URL maps.googleapis.com

    any line with API Key in editime.js

  • dahu

    I had updated rex_googlemap_api plugin again, please download it.

  • Rex,

    Hi !

    It run very nice ! Thank's

    Dahu

  • Hi Rex

    Thanks for sharing this plugins!

    But I am trying to use the geolocation with no results! In my teste and in yours demo!

    Please help

  • Hi Rex

    Escuse me! Is my fault! It is working! I make a mistake using "On get address completed" in place of "On get LatLng completed"

    Thanks again!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)