do {
error = maps_view_object_polyline_foreach_point(hPolyline, __foreachForCoordinates, &coordList);
+MAPS_LOGD(".");
if (error != MAPS_ERROR_NONE) break;
herePolyline->SetPath(coordList);
-
+MAPS_LOGD(".");
error = maps_view_object_polyline_get_color(hPolyline, &r, &g, &b, &a);
+MAPS_LOGD(".");
if (error != MAPS_ERROR_NONE) break;
herePolyline->SetStrokeColor(Color(r, g, b, a));
-
+MAPS_LOGD(".");
error = maps_view_object_polyline_get_width(hPolyline, &nThickness);
+MAPS_LOGD(".");
if (error != MAPS_ERROR_NONE) break;
herePolyline->SetStrokeThickness(nThickness);
} while (0);
-
+MAPS_LOGD(".");
return (here_error_e)ConvertToHereError(error);
}
unsigned char r, g, b, a;
do {
+MAPS_LOGD(".");
error = maps_view_object_polygon_foreach_point(hPolygon, __foreachForCoordinates, &coordList);
+MAPS_LOGD(".");
if (error != MAPS_ERROR_NONE) break;
herePolygon->SetPath(coordList);
-
+MAPS_LOGD(".");
error = maps_view_object_polygon_get_fill_color(hPolygon, &r, &g, &b, &a);
+MAPS_LOGD(".");
if (error != MAPS_ERROR_NONE) break;
herePolygon->SetFillColor(Color(r, g, b, a));
} while (0);
-
+MAPS_LOGD(".");
return (here_error_e)ConvertToHereError(error);
}
GeoCoordinateList *coordList = (GeoCoordinateList*)user_data;
coordList->push_back(GeoCoordinates(lat, lng));
+ MAPS_LOGD(".");
return true;
}