• Anonymous
  • Login
  • Register
Google Maps Custom Control - Feature Request: embed map in dialog control


 

I am trying to embed the control into a dialog control (from the extension library) but I get the message:

An error occurred while updating some of the page.

   google is not defined

The reason is probably that the custom control is hidden by default.

I tried to copy the custom control a second time into the xpage and set the size of the map of 1px by 1px but then there is the problem that a div with a unique identifier (map_canvas) exists 2 times on the xpage.

The solution I found was to copy the resources that loads the google map (http://maps.google.com/maps/api/js?sensor=true) another time on my xpage. not ideally but it is a workaround.

So if you enable somehow that the custom control can be embedded in a dialog control then the problem is solved.

The control looks great by the way =)




Taken Actions by Owners

Owners are investigating the request.



In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.