4 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
7 * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
22 #ifndef __LOCATION_DECARTA_H__
23 #define __LOCATION_DECARTA_H__
25 #include <location-types.h>
27 #define DEFAULT_ROUTE_RESOLUTION (0.01)
30 LocationPositionCB pos_cb;
31 LocationAddressCB addr_cb;
33 LocationRouteCB route_cb;
34 DecartaHandle *handle;
40 // used to pass the data to idle_callback in async request
44 DecartaDirectoryRequest *dir_request;
45 DecartaRouteRequest *route_request;
47 DecartaReverseGeocodeCB reverse_geocode_cb;
48 DecartaGeocodeCB geocode_cb;
49 DecartaDirectoryCB dir_cb;
50 DecartaRouteCB route_cb;
61 gchar *key_property[] = {
66 gchar *key_country[] = {
78 gchar *key_poi_sort[] = {
83 gchar *key_poi_prop[] = {
89 gchar *key_poi_filter[] = {
95 gchar *key_poi_filter_category[] = {
100 gchar *key_route_type[] = {
111 gchar *key_route_trans_mode[] = {
116 gchar *key_route_feature_to_avoid[] = {