hi
attached a simple example of how to initialize a map und wire up an Event handler. this works fine.
now, i have to adapt this code to initialize a map in a div, that isn't accessible at the time of the initial load of the page. the whole map-initialization und eventhandler-wiring would need to be placed in a function, that can be accessed at runtime.
how would i do that? all i tried so far was poor...
regards