SlideShare a Scribd company logo
1 of 21
Download to read offline
Модуль GetLocations.
Google Maps API ver.3 и Drupal.



  Дмитрий Олареско
  Inuits BVBA
  dima@inuits.eu
Google Maps API ver.3
Интеграция с Views
Возможность настройки стиля карты
Поддержка нескольких карт на одной
 странице
Поддержка модулей Feeds и Location
 Taxonomize
Использование InfoBubble и MarkerManager
 Javascript библиотек
Интеграция с Location*
GetLocations Field
Отображение пробок, велосипедных
 дорожек, панорам
Gmap vs GetLocations

         Gmap                    GetLocations
       “Монструозен”               “Легковесный”
  Google Map API Version 2    Google Map API Version 3
   Поддержка полигонов        Нет поддержки полигонов
   Нет стилизации карты          Стилизация карты
  Требует Google API Key      Нет нужен Google API Key
    Настраиваемый текст          Текст infoBubble не
         infoBubble                настраивается
 Нет настроек Zoom & Pan*   Гибкие настройки Zoom & Pan
Не удобен в настройке (gmap     Легко настраивается
           macro)
GetLocations Field
Базовая интеграция с Views
Geocoding
Google autocomplete
GetLocations Feeds
GetLocations
Location Taxonomize
Не ограниченное число карт
        на странице
Стилизация карты
                http://gmaps-samples-
v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
Информация о пробках
Информация о велодорожках
Панорамы
Предустановленные карты
/getlocations/node/<nid>
  example: /getlocations/node/1
/getlocations/user/<uid>
  example: /getlocations/user/1
/getlocations/lids/<lid_list>
  example: /getlocations/lids/1,2,3,4
/getlocations/nids/<nid_list>
  example: /getlocations/nids/1,2,3,4
Предустановленные карты

/getlocations/type/<content_type>
  example: /getlocations/type/article
/getlocations/type/<content_type>/<key>/<value>
  example: /getlocations/type/article/city/kiev
Доступные ключи

lid                 postal_code
name                country
street              latitude
additional          longitude
city                province_name
province            country_name
Colorbox и GetLocations

<a href="/getlocations_box/node/xxx?
 width=700&height=600&iframe=true"
 class="colorbox-load">See map</a>


<a href="/getlocations_box/node/xxx"
 rel="getlocationsbox">See map</a>
Стилизация infoBubble
   infobubble_options.js
Модуль GetLocations. Google Maps API ver.3 и Drupal. DrupalForum ZP 2012.
TO DO

Улучшение интеграции с Views
Polylines, Polygons, Circles & Rectangles,
 Drawing Library, Ground Overlays etc.
Полезные ссылки.
http://drupal.org/project/getlocations
http://code.google.com/intl/ru/apis/maps/documentati
  on/javascript/basics.html
http://google-maps-utility-library-
  v3.googlecode.com/svn/trunk/infobubble/
http://google-maps-utility-library-
  v3.googlecode.com/svn/trunk/markermanager/
http://gmaps-samples-
  v3.googlecode.com/svn/trunk/styledmaps/wizard/in
  dex.html
Модуль GetLocations.
Google Maps API ver.3 и Drupal.



  Дмитрий Олареско
  Inuits BVBA
  dima@inuits.eu

More Related Content

More from Dmytro Olaresko

Kharkiv drupal tech talks #2
Kharkiv drupal tech talks #2Kharkiv drupal tech talks #2
Kharkiv drupal tech talks #2Dmytro Olaresko
 
RESTful in Drupal 8 and Services module - New`n`Tasty!
RESTful in Drupal 8 and Services module - New`n`Tasty!RESTful in Drupal 8 and Services module - New`n`Tasty!
RESTful in Drupal 8 and Services module - New`n`Tasty!Dmytro Olaresko
 
Kharkiv Drupal Cafe Tech Talks #1
Kharkiv Drupal Cafe Tech Talks #1Kharkiv Drupal Cafe Tech Talks #1
Kharkiv Drupal Cafe Tech Talks #1Dmytro Olaresko
 
Инсталяционные профили в Drupal
Инсталяционные профили в DrupalИнсталяционные профили в Drupal
Инсталяционные профили в DrupalDmytro Olaresko
 
Системы управления версиями (VCS). Знакомство с Git.
Системы управления версиями (VCS). Знакомство с Git.Системы управления версиями (VCS). Знакомство с Git.
Системы управления версиями (VCS). Знакомство с Git.Dmytro Olaresko
 
Drupal Cafe №5 Харьков. Drupal 7 Form API.
Drupal Cafe №5 Харьков. Drupal 7 Form API.Drupal Cafe №5 Харьков. Drupal 7 Form API.
Drupal Cafe №5 Харьков. Drupal 7 Form API.Dmytro Olaresko
 

More from Dmytro Olaresko (6)

Kharkiv drupal tech talks #2
Kharkiv drupal tech talks #2Kharkiv drupal tech talks #2
Kharkiv drupal tech talks #2
 
RESTful in Drupal 8 and Services module - New`n`Tasty!
RESTful in Drupal 8 and Services module - New`n`Tasty!RESTful in Drupal 8 and Services module - New`n`Tasty!
RESTful in Drupal 8 and Services module - New`n`Tasty!
 
Kharkiv Drupal Cafe Tech Talks #1
Kharkiv Drupal Cafe Tech Talks #1Kharkiv Drupal Cafe Tech Talks #1
Kharkiv Drupal Cafe Tech Talks #1
 
Инсталяционные профили в Drupal
Инсталяционные профили в DrupalИнсталяционные профили в Drupal
Инсталяционные профили в Drupal
 
Системы управления версиями (VCS). Знакомство с Git.
Системы управления версиями (VCS). Знакомство с Git.Системы управления версиями (VCS). Знакомство с Git.
Системы управления версиями (VCS). Знакомство с Git.
 
Drupal Cafe №5 Харьков. Drupal 7 Form API.
Drupal Cafe №5 Харьков. Drupal 7 Form API.Drupal Cafe №5 Харьков. Drupal 7 Form API.
Drupal Cafe №5 Харьков. Drupal 7 Form API.
 

Модуль GetLocations. Google Maps API ver.3 и Drupal. DrupalForum ZP 2012.

Editor's Notes

  1. \n \n \n \n \n
  2. \n \n \n \n \n
  3. \n \n \n \n \n
  4. \n \n \n \n \n
  5. \n \n \n \n \n
  6. \n \n \n \n \n
  7. \n \n \n \n \n
  8. \n \n \n \n \n
  9. \n \n \n \n \n
  10. \n \n \n \n \n
  11. \n \n \n \n \n
  12. \n \n \n \n \n
  13. \n \n \n \n \n
  14. \n \n \n \n \n
  15. \n \n \n \n \n
  16. \n \n \n \n \n
  17. \n \n \n \n \n
  18. \n \n \n \n \n
  19. \n \n \n \n \n
  20. \n \n \n \n \n
  21. \n \n \n \n \n