|
|
|
Google Maps
|
|||
|---|---|---|---|
|
#18+
Добрый день. Есть гугл-карта, где пользователи ищут, например, отели в Токио и выбирают один. Как узнать что выбрал пользователь? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.09.2009, 15:18 |
|
||
|
Google Maps
|
|||
|---|---|---|---|
|
#18+
andrei-kom, как именно они выбирают? Через Local Search, через Google Search, через собственный Control в виде строки для поиска? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.09.2009, 15:45 |
|
||
|
Google Maps
|
|||
|---|---|---|---|
|
#18+
Поиск происходит через LocalSearch. Выбирают кликая на строке в результатах поиска либо на флажке на карте. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.09.2009, 15:48 |
|
||
|
Google Maps
|
|||
|---|---|---|---|
|
#18+
andrei-kom, при инициализации проставь callback'и на нужные эвенты http://code.google.com/intl/en/apis/maps/documentation/reference.html#GGoogleBarOptions onGenerateMarkerHtmlCallback Function This property lets you specify a callback function to be invoked when the info window for a search result marker is opened. The function should be passed a GMarker, generated HTML string, and GlocalSearchResult (in that order) and must return the modified HTML string to be displayed in the info window. onMarkersSetCallback Function This property lets you specify a callback function to be invoked when the GGoogleBar completes creation of its markers and places them on the map. This function must be passed an array of objects of the form {result: GlocalSearch, marker: GMarker}. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.09.2009, 16:05 |
|
||
|
|

start [/forum/topic.php?fid=22&msg=36173091&tid=1454320]: |
0ms |
get settings: |
6ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
41ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
48ms |
get tp. blocked users: |
2ms |
| others: | 204ms |
| total: | 329ms |

| 0 / 0 |
