static bool is_read = false;
if (!is_read) {
- int ret = system_info_get_platform_bool(MAPS_FEATURE, &is_supported);
- if (ret == SYSTEM_INFO_ERROR_NONE) {
- MAPS_LOGD("maps feature is%ssupported", (is_supported ? " " : " not "));
- is_read = true;
- }
+ system_info_get_platform_bool(MAPS_FEATURE, &is_supported);
+ MAPS_LOGD("maps feature is%ssupported", (is_supported ? " " : " not "));
+ is_read = true;
}
return is_supported;
}
static bool is_read = false;
if (!is_read) {
- int ret = system_info_get_platform_bool(INTERNET_FEATURE, &is_supported);
- if (ret == SYSTEM_INFO_ERROR_NONE) {
- MAPS_LOGD("internet feature is%ssupported", (is_supported ? " " : " not "));
- is_read = true;
- }
+ system_info_get_platform_bool(INTERNET_FEATURE, &is_supported);
+ MAPS_LOGD("internet feature is%ssupported", (is_supported ? " " : " not "));
+ is_read = true;
}
#endif
return is_supported;
if (m->coordinates)
maps_coordinates_destroy(m->coordinates);
m->coordinates = coordinates;
+
+ /* Notify view, that the object specific preferences is changed */
+ _maps_view_on_object_operation(__get_view(overlay), overlay, MAPS_VIEW_OBJECT_CHANGE);
+
return MAPS_ERROR_NONE;
}