Script permalink google maps

Moderators: Unholy, guri211, GinBook, Zirland

Re: Script permalink google maps

Postby bebebrumik » Tue Jun 25, 2013 1:11 pm

Skript pro Firefox mi ukazuje Permalink a odkaz na Mapy.cz, chybí Google...
L4, Waze 3.7.9 @ HTC ONE [4.4.2] @ red Nissan Almera
bebebrumik
 
Posts: 284
Joined: Tue May 07, 2013 12:11 pm
Has thanked: 75 times
Been thanked: 36 times

Re: Script permalink google maps

Postby bebebrumik » Tue Jun 25, 2013 1:51 pm

To mi taky házelo, ale po pár pokusech to vyšlo :-)
L4, Waze 3.7.9 @ HTC ONE [4.4.2] @ red Nissan Almera
bebebrumik
 
Posts: 284
Joined: Tue May 07, 2013 12:11 pm
Has thanked: 75 times
Been thanked: 36 times

Re: Script permalink google maps

Postby bebebrumik » Tue Jun 25, 2013 2:07 pm

mylan wrote:A máš nainštalovaný skript pre google maps? Je to rozdelené do dvoch skriptov, pretože skript pre google mapy využívajú aj ľudia mimo CZ/SK a mapy.cz by im boli na nič.


A jo, díky, už to jde. Skvělá práce!
L4, Waze 3.7.9 @ HTC ONE [4.4.2] @ red Nissan Almera
bebebrumik
 
Posts: 284
Joined: Tue May 07, 2013 12:11 pm
Has thanked: 75 times
Been thanked: 36 times

Re: Script permalink google maps

Postby foxitrot » Thu May 23, 2013 8:47 am

[OT]
Mne uz mnoho mesiacov nefunguje bookmarklet WME -> stare GoogleMaps, ale este mi to funguje v mnoho krat dolatanom prastarom WME ext tools 1.6.5.2 - to posledne kvoli comu to drzim. Na nove GMaps by to uz asi nemalo zmysel prerabat.
Mate niekto poruke funkcny bookmarklet pre stare GMaps?
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Re: Script permalink google maps

Postby foxitrot » Thu May 23, 2013 12:51 pm

mylan wrote:foxi: ako vyzerá súčasný bookmarklet? Ak ho máš niekde, hoď ho sem do (code) a možno niečo vymyslíme. V plain javascripte sa vyznám síce len letmo, ale snáď kolektívne nájdeme chybu :)

Tak sa pozrime na to:
Code: Select all
javascript:(function(){var%20center_lonlat%20=%20new%20OpenLayers.LonLat(g_cartouche.map.center.lon,g_cartouche.map.center.lat);center_lonlat.transform(new%20OpenLayers.Projection("EPSG:900913"),%20new%20OpenLayers.Projection("EPSG:4326"));window.open('http://maps.google.com/maps?q='+center_lonlat.lat+','+center_lonlat.lon+'&z='+%20(g_cartouche.map.zoom+12));})();

Tak pozeram ze to je asi uz dobre stary kusok, "g_cartouche.map" mozno vo WME uz davno nie je zadefinovane... Co je tam teraz, "wazeMap"?

mylan wrote:Chceš radšej ten bookmarklet, user script nevyhovuje?

V podstate ano, ale chcel som ten bookmarklet spojazdnit.
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Re: Script permalink google maps

Postby foxitrot » Thu May 23, 2013 1:24 pm

mylan wrote:Jj, malo by to byť wazeMap po novom, skús toto:

Jo, to uz ide, vdaka. Vidim ze kod je identicky, naozaj len "g_cartouche.map" -> "wazeMap".

foxitrot wrote:
mylan wrote:... user script nevyhovuje?

V podstate ano, ale chcel som ten bookmarklet spojazdnit.

Skusil som ho - ide spravne, nepaci sa mi ale, ze na uplne kazdej zalozke vytvori dole dlhy gombik "Google Maps Permalink", pricom niektore su uz teraz dost zaplnene - jedno gombitko by mi stacilo.
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Re: Script permalink google maps

Postby foxitrot » Thu May 23, 2013 2:05 pm

mylan wrote:... pošlem sem upravenú verziu user scriptu, kde sa tlačítko pridá vedľa waze permalinku.

Noo, to je pekne elegantne :)
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Re: Script permalink google maps

Postby foxitrot » Mon May 27, 2013 1:34 pm

Inak mylan, co sa tyka editora (editorov), zisiel by sa skor "// @include https://*.waze.com/*editor/*" - beta_editor je momentalne mimo a dalsie tri su uz pase.
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Re: Script permalink google maps

Postby foxitrot » Mon May 27, 2013 2:18 pm

Zle som sa vyjadril - beta editor je (a bude) funkcny, len nebol includnuty v nastaveniach skriptu :)
O inom editore zatial neviem.
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Re: Script permalink google maps

Postby foxitrot » Tue Jun 25, 2013 5:48 pm

mylan wrote:Je to rozdelené do dvoch skriptov, pretože skript pre google mapy využívajú aj ľudia mimo CZ/SK a mapy.cz by im boli na nič.

Náhodou! Keď mapy.cz začali ponúkať šikmé fotky, bola to pecka!
...with the good old crashing :roll: Symbian 2.1.99.114 (N-E52), while
trying to get used to the good new crashing Android 3.7.xx.yyy (SG-A2 JealousBin).
foxitrot
Waze Global Champs
Waze Global Champs
 
Posts: 5295
Joined: Thu Jul 14, 2011 10:22 pm
Location: Slovakia
Has thanked: 840 times
Been thanked: 470 times

Next

Return to Czech Republic and Slovakia

Who is online

Users browsing this forum: No registered users