google places api список иконок
мы искали список значков API Google Places, но не нашли никакого результата. Вместо того, чтобы получать значки из Google places api, мы хотим сохранить все значки на нашем сервере и получить
{
"geometry" : {
"location" : {
"lat" : 39.892428,
"lng" : 32.777228
}
},
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
"id" : "414cfb4ba62c906cd02f12aa95e9bf99e3c4df9a",
"name" : "Spor Merkezi",
"place_id" : "ChIJyeQgWThG0xQRUXE-OJyfzQE",
"reference" : "CmRfAAAAAwjRCbPtNxEHU_AlS4Px1CMuO7_frFwDtp1vYFY_jo3eusWeyECsp6YB425LNp89S7lMN0jPspoYr15vFXGJrf8mPXf1eUTqFiMW7lBAh45ftfZcW96mMNdCgGCc8FOQEhBA1Zpx7MlSpCFgGlNDVua0GhTSEKVR9IEcrTa5nnm9CGEjcZEL-g",
"scope" : "GOOGLE",
"types" : [ "establishment" ],
"vicinity" : "Üniversiteler Mh., Ankara"
}
выше приведен пример результата от Google places api, здесь мы хотим список всех значков. Этот значок является одним из них : "icon":"http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png"
знаете ли вы ресурс, который мы можете найти все значки, которые google предоставляет для мест ?
3 ответов
Я не видел окончательного списка. Вот это сайт с картинками связаны.
и ниже приведены списки, разбитые на easy copy / paste в алфавитном порядке:
- аэропорт https://maps.gstatic.com/mapfiles/place_api/icons/airport-71.png
- развлечения https://maps.gstatic.com/mapfiles/place_api/icons/amusement-71.png
- аквариум https://maps.gstatic.com/mapfiles/place_api/icons/aquarium-71.png
- art_gallery https://maps.gstatic.com/mapfiles/place_api/icons/art_gallery-71.png
- atm https://maps.gstatic.com/mapfiles/place_api/icons/atm-71.png
- ребенок https://maps.gstatic.com/mapfiles/place_api/icons/baby-71.png
- bank_dollar https://maps.gstatic.com/mapfiles/place_api/icons/bank_dollar-71.png
- bank_euro https://maps.gstatic.com/mapfiles/place_api/icons/bank_euro-71.png
- bank_pound https://maps.gstatic.com/mapfiles/place_api/icons/bank_pound-71.png
- bank_yen https://maps.gstatic.com/mapfiles/place_api/icons/bank_yen-71.png
- парикмахерская https://maps.gstatic.com/mapfiles/place_api/icons/barber-71.png
- бар https://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png
- бейсбол https://maps.gstatic.com/mapfiles/place_api/icons/baseball-71.png
- пляж https://maps.gstatic.com/mapfiles/place_api/icons/beach-71.png
- велосипед https://maps.gstatic.com/mapfiles/place_api/icons/bicycle-71.png
- боулинг https://maps.gstatic.com/mapfiles/place_api/icons/bowling-71.png
- автобус https://maps.gstatic.com/mapfiles/place_api/icons/bus-71.png
- кафе https://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png
- поход https://maps.gstatic.com/mapfiles/place_api/icons/camping-71.png
- автосалон https://maps.gstatic.com/mapfiles/place_api/icons/car_dealer-71.png
- прокат автомобилей https://maps.gstatic.com/mapfiles/place_api/icons/car_rental-71.png
- ремонт машин https://maps.gstatic.com/mapfiles/place_api/icons/car_repair-71.png
- казино https://maps.gstatic.com/mapfiles/place_api/icons/casino-71.png
- civic_building https://maps.gstatic.com/mapfiles/place_api/icons/civic_building-71.png
- удобство https://maps.gstatic.com/mapfiles/place_api/icons/convenience-71.png
- суда https://maps.gstatic.com/mapfiles/place_api/icons/courthouse-71.png
- стоматолог https://maps.gstatic.com/mapfiles/place_api/icons/dentist-71.png
- врач https://maps.gstatic.com/mapfiles/place_api/icons/doctor-71.png
- электроника https://maps.gstatic.com/mapfiles/place_api/icons/electronics-71.png
- фитнес https://maps.gstatic.com/mapfiles/place_api/icons/fitness-71.png
- цветок https://maps.gstatic.com/mapfiles/place_api/icons/flower-71.png
- gas_station https://maps.gstatic.com/mapfiles/place_api/icons/gas_station-71.png
- generic_business https://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png
- generic_recreational https://maps.gstatic.com/mapfiles/place_api/icons/generic_recreational-71.png
- геокодирования https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png
- гольф https://maps.gstatic.com/mapfiles/place_api/icons/golf-71.png
- правительство https://maps.gstatic.com/mapfiles/place_api/icons/government-71.png
- исторического https://maps.gstatic.com/mapfiles/place_api/icons/historic-71.png
- украшения https://maps.gstatic.com/mapfiles/place_api/icons/jewelry-71.png
- библиотека https://maps.gstatic.com/mapfiles/place_api/icons/library-71.png
- размещение https://maps.gstatic.com/mapfiles/place_api/icons/lodging-71.png
- памятник https://maps.gstatic.com/mapfiles/place_api/icons/monument-71.png
- горы https://maps.gstatic.com/mapfiles/place_api/icons/mountain-71.png
- фильмы https://maps.gstatic.com/mapfiles/place_api/icons/movies-71.png
- музей https://maps.gstatic.com/mapfiles/place_api/icons/museum-71.png
- pet https://maps.gstatic.com/mapfiles/place_api/icons/pet-71.png
- полиции https://maps.gstatic.com/mapfiles/place_api/icons/police-71.png
- post_office https://maps.gstatic.com/mapfiles/place_api/icons/post_office-71.png
- ремонт https://maps.gstatic.com/mapfiles/place_api/icons/repair-71.png
Я нашел еще пару!
автобус - http://maps.gstatic.com/mapfiles/place_api/icons/bus-71.png
школа - http://maps.gstatic.com/mapfiles/place_api/icons/school-71.png
синагога - http://maps.gstatic.com/mapfiles/place_api/icons/worship_jewish-71.png
весь список можно найти в Google:https://developers.google.com/places/supported_types