ene 132013
 

Buenas,

Post in two languages / Mensaje en dos idiomas:


spanish flag Ha costado pero al final ha llegado la nueva versión de la GMLib para Delphi/BCB, la 0.1.9 beta.

Esta nueva versión trae muchos cambios, pero el más destacado es que ahora es compatible con FMX (lo cual ha implicado muchos cambios internos), y que he realizado una ayuda (formato CHM) en español y inglés mediante el programa DelphiCodeToDoc. Me he decantado por éste por ser, de los que he visto de código abierto, el que más me ha gustado. Si conocéis algún otro generador de documentación gratuito mejor que DelphiCodeToDoc, no dudéis en comentármelo para que le de un vistazo. Este programa permite generar documentos PDF, HTML y CHM (incluiré sólo la ayuda en CHM para que el paquete no engorde demasiado). La ayuda la podéis encontrar en la carpeta .\Docs\GMDoc\ES para español y .\Docs\GMDoc\EN para inglés. Como mi nivel de inglés no es muy bueno, si encontráis alguna mala traducción no dudéis en decírmelo para corregirla.

Dado que se ha hecho compatible con FMX, también he intentado hacer compatible la GMLib con el navegador DECF1 (dado que es el único compatible con FMX que conozco). No obstante, y después de mucho probar, no he logrado hacerlo funcionar con la GMLib (de forma individual sí).

Por defecto, la GMLib sólo se compilará para el navegador TWebBrowser (ya que es el único que viene por defecto en Delphi). Si queréis incluir la compatibilidad con DCEF1 (por si tenéis la curiosidad y/o queréis probar de solucionar los problemas con él ya que incluyo todo el desarrollo que he hecho) tendréis que «activarla» en el archivo gmlib.inc que encontraréis en la carpeta raíz de los componentes. Este archivo contiene una estructura como esta:

{$IFDEF VERXXX}
  {$DEFINE WEBBROWSER}
  {.$DEFINE CHROMIUM}
{$ENDIF}

Donde VERXXX es la versión de Delphi. Para activar DCEF buscaremos primero la versión de Delphi donde lo tenemos instalado y quitaremos el punto (.) que hay delante del signo dolar ($) del DEFINE de CHROMIUM y/o CHROMIUMFMX y compilar los componentes después de haber instalado DCEF (que nadie lo haga antes eh!!!). Como se puede deducir viendo esas líneas, tenemos la posibilidad de desactivar el TWebBrowser.

También he aprovechado y he hecho «limpieza» de unidades, poniendo en una sola unidad todas las clases sencillas o de apoyo.

Otra novedad es la implementación parcial de la clase Geometry de Google Maps (encoding y poly totalmente y spherical parcialmente).

Como siempre, podéis ver más explicaciones y descargar los componentes en su página.



english flag It has cost but finally has come the new version of the GMLib for Delphi / BCB, the 0.1.9 beta.

This new version brings a lot of changes, but the most important is that now is compatible with FMX (which has involved many internal changes), and  I have done a help (CHM format) in spanish and english using the DelphiCodeToDoc program. I opted for it to be the best open source program that I tested. If you know another free documentation generator better than DelphiCodeToDoc, don’t doubt to say to me and I will test it. This program generates documents in PDF, HTML and CHM format (I will include only CHM format to reduce package). You can find the help into folder .\Docs\GMDoc\ES for spanish and .\Docs\GMDoc\EN for english. Because my english is not good enough (I’m learning), if you find a bad translation tell me to correct it.

Since it has been made ​​compatible with FMX, also I have tried to do GMLib compatible with DECF1 browser (because this is the unique compatible with FMX that I know). However, and after many testing, I failed to make it work with the GMLib (individually yes).

By default, the GMLib only is compiled for TWebBrowser browser (since is the only that comes with Delphi by default). If you want to include the DCEF1 compatibility (if you have curiosity and/or want to try to fix the problems with it as I include all the development I’ve done) you need to activate it on gmlib.inc file that you can find in the root folder of the components. This file have a structure like this:

{$IFDEF VERXXX}
  {$DEFINE WEBBROWSER}
  {.$DEFINE CHROMIUM}
{$ENDIF}

Where VERXXX is the version Delphi. To activate DCEF first you need to search the version Delphi where we have installed it and we delete the point (.)  that is before the dollar sign ($) of Chromium and/or CHROMIUMFMX DEFINE and compile the components after to install DCEF (you must not do it before!). As you might guess seeing those lines, we have the ability to disable the TWebBrowser.

Also I have taken advantage and have done «cleaning» of units, putting in one unit all simple or support classes.

Other novelty is the implementation partial of the class Geometry of Google Maps (encoding and poly fully and partially spherical).

As always, you can see more explanations and download the components in your page.

  14 Responses to “GMLib – Google Maps Library v0.1.9”

  1. Puedes checar tambien este componente, lo usan muchos proveedores de componentes que quieren hacer un renderind en tiempode diseño de sus componentes para ver como se ven en web.

    Tambein lo usan Thomas de delphi praxis que tambien ha desarrollado una libreria similar a la tuya.

    Ademas que los que poseen delphi profesisonal (donde no viene el TWebBrowser) es una opcion viable

    No se si sea compatible con FMX perovale la pena intentarlo.

    Puedes checarlo aca:

    https://github.com/ghquant/Delphi-EmbeddedWB

    saludos

  2. How to measure a distance in poligon

  3. can i put in tgmap or twebbrowser a strig text? not marker
    (ex: string of distance in polygon between 2 points. position of string = midle ol tlinepoint of poligon)

  4. Quiero instalar GMLib para XE2 y tengo problemas de instalación. No encuentra DCEF_XE2

    un saludo

  5. hello dear admin
    i install GMLib_DXE2_FMX.bpl sucsesfully but when i start firemonky app im just have TGMinfowindow under googlemap component

Leave a Reply to PacoPepe Cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.