Hi Bhupender-
Please post a new thread instead of replying to a thread on a different
topic. Please also upload your existing code to the group "Files" section or
to a web server, so we can see what you have so far.
- pamela
On Tue, Nov 25, 2008 at 5:20 PM, Bhupender Giri
<[EMAIL PROTECTED]>wrote:
> Hi,
>
> I have an application in which i enter the location and it display the
> results using google map. Now i want to highlight that particular result.
> How can i do that.
>
> I have ClientGeocoder & Map with me.
>
> Any help will be appreciated.
>
> On Tue, Nov 25, 2008 at 9:38 AM, Bhupender Giri <[EMAIL PROTECTED]
> > wrote:
>
>> Hi All,
>> I am a beginner in flex programming.
>> I am trying to create an application with submit button. On entering the
>> location it should give me details of that location.
>> Can anybody tell me how to get the location details using google map in
>> flex.
>>
>>
>> On Tue, Nov 25, 2008 at 2:42 AM, Wayne Mcfetridge <
>> [EMAIL PROTECTED]> wrote:
>>
>>> Thanks Pamela,
>>> Was thinking there may be a way to figure it out in the API but this
>>> approach is great.
>>>
>>> Wayne McFetridge
>>> [EMAIL PROTECTED]
>>>
>>> 07 5450 2760
>>>
>>> 0408 882 019
>>>
>>> PO Box 1219 Buderim 4556
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 24/11/2008, at 9:20 PM, pamela (Google Employee) wrote:
>>>
>>> Hi Wayne-
>>> I believe that function will give you the highest possible zoom level for
>>> the map if it is a point-sized bounds. The highest zoom level often doesn't
>>> have imagery however, so I usually do something like:
>>>
>>> if (markers.length = 1) {
>>> map.setZoom(16);
>>> } else {
>>> map.setZoom(map.getBoundsZoomLevel(bounds));
>>> }
>>>
>>> - pamela
>>>
>>>
>>> On Mon, Nov 24, 2008 at 6:36 PM, Wayne Mcfetridge <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> in my loop i do this
>>>> _bounds.extend(new LatLng(markerData.Lat[0] , markerData.Lon[0]))
>>>>
>>>> //end loop
>>>> then after loop is over i do this
>>>>
>>>> _map.setCenter(_bounds.getCenter());
>>>> _map.setZoom(_map.getBoundsZoomLevel(_bounds))
>>>>
>>>>
>>>> This works great when i have a bunch of markers I end up with an
>>>> appropriate zoom level that show ALL markers in view port..
>>>>
>>>> when my loop only has ONE marker the map is way too zoomed in -- beyond
>>>> the max zoom level for the parts of Australia that
>>>> I am mapping ...
>>>>
>>>> How to I stop the map going beyound the Max zoom
>>>>
>>>> Wayne McFetridge
>>>> [EMAIL PROTECTED]
>>>>
>>>> 07 5450 2760
>>>>
>>>> 0408 882 019
>>>>
>>>> PO Box 1219 Buderim 4556
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---