Focal Point
[SOLVED] Google maps - Flex

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/608106425

September 09, 2010, 10:52 AM
Enigma006
[SOLVED] Google maps - Flex
Hai

I am working on google maps in flex with WebFOCUS Enable. Everything is working good but I need help in some points, not sure if these can be done.

I make selections from a list box with country. By default NA map shows on the screen when app is loaded. If I select China, can the map automatically show China rather than we scrolling the map?? and are there any ways to change data visualization format in Infowindow?

Thanks a lot..

This message has been edited. Last edited by: Kerry,


8.1.05
HTML,PDF,EXL2K, Active, All
September 15, 2010, 03:15 PM
Kerry
Hi Enigma,

Suggestion from internals:

quote:

You need to specify defaultMapCenter property. When I set following to China, map shows centered on China. Then you need to programmatically adjust defaultMapCenter property using change event for dropdown. Following demonstrate how to use defaultMapCenter property. Using defaultMapCenter you can center map to specific address like “2 Penn Plaza, New York, NY” also.
<ibi:ibiMap001  width="856.28784" height="435.98486" left="10" top="63" defaultMapCenter="China" defaultMapType="hybrid" defaultMapZoom="4">
            <ibi:apiKey>ABQIAAAAEpYGSqyWFX02L7wG7Y59eRRHl3Y9jkjnC9RPr5jlydUqicn_TRRU3WwfBmLSiGUFpjxrECuGWP1zXA</ibi:apiKey>




Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
September 15, 2010, 03:18 PM
Kerry
Hi Enigma,

Some additional info:

quote:
we have a map related component called ‘ibiMapCenterControl’ which links to an ibi control, such as ibiList or ibiComboBox and when an item is selected the linked map automatically moves and centers to that location (given proper latitude and longitude data is provided).

I’ve attached a basic example demonstrating the usage of that component with both ibiComboBox and ibiList and hopefully it is what he is looking for.

Regarding the second question, we don’t currently support the customization of the contents of map info windows.


Please send me a private message with your email address, so that I can forward the sample file to you.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
September 16, 2010, 01:47 PM
Enigma006
Thanks Kerry. I will try these and will let you know soon..


8.1.05
HTML,PDF,EXL2K, Active, All
September 17, 2010, 10:54 AM
Enigma006
Any good place to look for WebFOCUS enable for Flex docs other than user guide provided.
that has very limited subject..!!

thanks


8.1.05
HTML,PDF,EXL2K, Active, All