May 122016
Due to the future closure of google.code, the raw files are no longer available. For this reason and because GMLib uses StyledMarker.js hosted in this servers, GMLib has stopped working.
However the solution is easy: upload this file to another server and do a small changes into the GMLib code.
So, I have uploaded StyledMarker.js to the GitHub GMLib repository. Now, you only need to do this small modification into GMLib:
- Into .\resources\map.html file replace this url
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js
by this other
https://rawgit.com/cadetill/gmlib_v1/master/Resources/StyledMarker.js
- Recreate resource file executing .\resources\rc.cmd
- Build (no compile) all GMLib
With this easy steps we have GMLib up to date.
Another option is download the changes from the repository.
Until the next entry!
which way the repository ?
Hi
Here you have the repository https://github.com/cadetill/gmlib_v1
Hola Cadetill, gracias, lo probé y funciona correctamente, eres un capo!!
Saludos desde Arequipa, Perú
realize esos pasos y me sigue saliendo el cartel de error de sltyledicon..
Buenas,
Qué error tienes? Dónde te falla? Qué has hecho??
I’ve made all recomendations, but there is no effect. 🙁
Have you rebuild components after rebuild .res file?
Works excellent !
I don’t know why but the indicated procedure has no effect.
As workaround I’ve copied the whole content of .\resources\StyledMarker.js inside map.html
AND HAS WORKED !!!.
so cancel src=”https://rawgit.com/cadetill/gmlib_v1/master/Resources/StyledMarker.js”
and copy and paste StyledMarker.js before the tag
I know src= … should work (i can see this page from a browser), but it has not been worked for me.
BTW, I’m using Delphi 7.
P.S.
I have downloaded the library from “Here you have the repository https://github.com/cadetill/gmlib_v1”
but I’ve received an error opening GMLibProject_D7.bpg (i’ve copied the old one over this).
Thank you for the fantastic job.
It’s strange. If from the browser you have access to the url https://rawgit.com/cadetill/gmlib_v1/master/Resources/StyledMarker.js, should work from JavaScript.
However, thanks for your comment
You should use http:// not https:/// Because rawgit use invalid key.
You should use http:// not https:/// Because rawgit use invalid key.
Hello,
Since today i have this message on the MegaDemo.exe
Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details
if u put a api key it tell me ‘No esta activo’
Thx for the help !
sorry just had to rebuild w a key on the map.html !
perfect!
Hello ! I use delphi seattle and again got this message w the megademo.exe
Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.
The map load for a few seconds and all work then the map is hiden w this big message
I use my key on a regular html gm page and it work
Thx for the help 🙂
My project that uses version 1.5.3 of gmlib, are not working I created a Key and put it in the Maps component of Gmlib but it still does not work?
I saw some messages that have to put the key in the maps.html and recompile the resource file and reinstar the component is this?
Do you know how I should proceed to solve this problem?
Thank you
It seems they are making changes to the API and this do that GMLib stops running for some time. If the errors continue I will try to fix it
Estimado Cadetill
Hoy tuve el problema antes mencionado por Jean, descargue los fuentes del repositorio, reconstrui los package y luego recompile la MegaDemo, y sucede lo siguiente:
1) Al reconstruir los package y compilar la MegaDemo, se despliega “Error Script”.
Linea: 0
Carácter: 0
Error: Script error
Código:0
URL: http://maps.google.com/maps-api-v3/api/js/26/17/intl/es_419/common.js”
2) Al reconstruir los “resources” se produce otro error
Linea: 1486
Carácter: 19
Error: No se puede obtener la propiedad “getLength” de referencia nula o sin definir
Código:0
URL: about:blank
Ambiente: Delphi XE7, SO Window 10, x64
Si tienes alguna luz al respecto te lo agradezco
Saludos cordiales
Parece que están haciendo cambios en la API que deja sin funcionamiento a la GMLib durante algunos ratos. Si los errores siguen intentaré mirar a qué se deben
Buenos días Cadetill.
sigo experimentando el mismo problema hace días.
durante la mañana es funcional, luego es donde empieza a dar problemas.
si dejo Gmlib funcionando desde la mañana, puede estar todo el día sin fallos. cuando lo cierro y lo abro nuevamente es donde se genera el error.
Saludos
La solución en este mensaje
Buenos días, yo encontre una solución. Tienen que modificar el archivo gmmapres.RES y poner allí en la lamada al script del api de googlemaps, la key correspondiente.
Luego, recompilan los recursos (ejecutan rc.cmd)
Luego, desintalan el package, lo compilan y lo instalan nuevamente.
Con esos pasos, pude corregirlo.
La solución en este mensaje
I’m having problem to install GMLIB on Berlin. I’m using the GMLibProject_D_Berlin and following the latest install.txt (which has disappeared in the repository) adapting the instructions written for RadStudio XE8 to this new configuration.
Step n° 1 proceeds ok (compilation and installation of GMLib_D_Berlin) on both 32 and 64 bits
Step n° 2 (compilation and installation of GMLib_D_Berlin_VCL) fails telling me that GMLib_D_Berlin is not a valid 32 bit package …
Someone has encountered these problems before me ? A solution exists ?
Thanks
Have you added the library path?
Siga los procedimientos descritos en el sitio. He realizado el procedimiento de ayer y mi trabajo de nuevo, pero hoy volvió a mostrar el mismo problema error al cargar el mapa.
¿Existe un procedimiento de solución final?
La solución en este mensaje
Probe de todas las formas recomendadas aqui y sigue apareciendome el error.
Tuviste alguna novedad mas?
Gracias,y saludos. La libreria es excelente.
La solución en este mensaje
Hello,
Since today i have this message on the MegaDemo.exe
“Pagina inicial aun no cargada”
Exemple from the Megademoexe
i go to figure then Markers then i choose “camp Nou” then the button Zoom To All and delphi throw that error
Thx for the help =)
And when i fire event like click right and so on, nothing happen in the status memo too
Thx for the help