Working with dynamically created Google Map Entries...

First a big "Thank you!" - I really love this Code!

What I stumbled recently were some Problems with the embedding of Google 
Maps:
Is works fine if I stay on the same Tab, but if I choose another one and 
switch back the Map is gone...

The main Problem is that Ports are defined like port initMap : GMPos -> Cmd 
msg
I create the id for the div dynamically - so if I want to send the Cmd the map 
= document.getElementById('map'); does not work because 'map' is not yet 
available... 

So it would work if I have an Event triggered AFTER I draw the view...
Is there an Action which can be triggered after doing this? 
With a Custom Event Handler or is there already something I missed?

Thanks,

Herwig

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to