언어 설정

Menu
Sites
Language
Clean a Map Overlay

Hi to all,

   My dupt is, after write some lines or points in a Map Overlay, for example:

ad->map.ovl = elm_map_overlay_line_add(ad->map.mapService, lon_or, lat_or, lon, lat);

How to clean the map?

Thanks to all.

Responses

2 댓글
Shaswati Saha

You may use the line below.

elm_map_overlay_del(ad->map.ovl);

It'll delete the overlay that you've created using the line of code mentioned in your post. To delete all the overlays, I would like to suggest you to write the above line of code everytime you create an overlay.

Carlos Dominguez

Hi Saha,

Thanks for your answer, but, I wanted to ask, I dont know if this is a Tizen API bug or we are doing wrong, but this function only delete the last item inserted, last icon I mean, but the rest stills, even if I call several times nothing is going a be deleted...