Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread GoogleMap Dynamic
Thu, Jun 13 2013 10:44 AMPermanent Link

lejetou

My quick and dirty example of Googlemap integration.

I'm not sure this is the good way to do.

Play with it, and please let me know, if this is the good way to do this or not Smile



Attachments: GoogleMapDyn.rar
Thu, Jun 13 2013 10:53 AMPermanent Link

lejetou

I've just see that running this project in EWB IDE fire a script error, but not in Firefox.

Dont' know why.
Fri, Jun 14 2013 2:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

lejetou,

Nice job - great way to illustrate Google maps integration.  One of these
days, I'm going to get the GMaps external interface completed. Wink

<< I've just see that running this project in EWB IDE fire a script error,
but not in Firefox. >>

It appears to be an issue with IE8.  Make sure to enable the IE HTML5
support in the Project/Options/Compilation tab, and that should fix it.
Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jun 3 2015 12:26 PMPermanent Link

Douglas Lyman

This is working great in EWB1 but not in EWB2 for me.  Has anyone got a solution for EWB2?
Mon, Jun 8 2015 1:24 PMPermanent Link

Bruno Larochelle

hi Doug

I could not get this to work in EWB1.. I get a message 'GMAP_Initilalize_Address is null' .. . How did you get it to run?

I tried to re-build it for EWB2 (new form, cut-paste the code, renamed the 'functions' as 'procedures', and added 'uses webDOM' to the unit).. it 'compiles' fine and runs. But does not do anything, nor gives any error messages (and the browser debug tools don't seem to say much)

Anyway, I know that probably does not help much. I have attached the converted files (they open/compile in EWB2) if of any use.

.. Bruno

(i'm using EWB2b10, EWB1.05b3)







Douglas Lyman wrote:

This is working great in EWB1 but not in EWB2 for me.  Has anyone got a solution for EWB2?



Attachments: testgmapdyn_ewb2.zip
Fri, Jun 26 2015 8:20 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Brimp.

<< I tried to re-build it for EWB2 (new form, cut-paste the code, renamed
the 'functions' as 'procedures', and added 'uses webDOM' to the unit).. it
'compiles' fine and runs. But does not do anything, nor gives any error
messages (and the browser debug tools don't seem to say much) >>

There's a few issues at play here:

- The main form's OnShow event handler isn't hooked up
- The Google maps external file reference is set as an HTML reference, not a
JS reference, so nothing is being linked in the HTML loader file.

Even after fixing these issues, though, there is still an issue because EWB
2 doesn't set any element IDs that can be used to hook the map to a specific
UI element.  I'll be adding something to use to do this in the next build
(something like a SetHTMLID method).

There's also an issue with the project manager with respect to duplicate
external file names, and that's fixed for the next build also.

I've also finally begun working on a native Google Maps external interface,
and once that's done you will be able to just use a Google Maps control
directly in your EWB 2 apps.

Finally, I didn't forget about the Windows Phone issue that you reported.  I
just need to implement the MS-specific pointer events interfaces in the
event management.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image