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

Post your work in progress addons and get feedback

Post » Tue Oct 25, 2016 1:20 pm

@Gamekid

Put rex_googlestaticmap into "behaviors" folder.
B
108
S
26
G
259
Posts: 4,432
Reputation: 145,687

Post » Sat Nov 12, 2016 12:39 pm

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[b]};_.kb=function(..."
B
9
S
1
Posts: 72
Reputation: 631

Post » Sat Nov 12, 2016 3:04 pm

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.
B
108
S
26
G
259
Posts: 4,432
Reputation: 145,687

Post » Sat Nov 12, 2016 4:00 pm

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
???
B
9
S
1
Posts: 72
Reputation: 631

Post » Sat Nov 12, 2016 4:22 pm

@dahu
Image
B
108
S
26
G
259
Posts: 4,432
Reputation: 145,687

Post » Sat Nov 12, 2016 6:17 pm

@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
B
9
S
1
Posts: 72
Reputation: 631

Post » Sun Nov 13, 2016 1:23 am

@dahu

I had updated rex_googlemap_api plugin again, please download it.
B
108
S
26
G
259
Posts: 4,432
Reputation: 145,687

Post » Sun Nov 13, 2016 2:11 pm

@Rex,

Hi !

It run very nice ! Thank's

Dahu
B
9
S
1
Posts: 72
Reputation: 631

Post » Tue Dec 13, 2016 4:32 pm

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
B
108
S
11
G
8
Posts: 180
Reputation: 8,728

Post » Tue Dec 13, 2016 10:53 pm

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!
B
108
S
11
G
8
Posts: 180
Reputation: 8,728

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest