Jump to content

Recommended Posts

Posted

Hello developers

I working a project with TUnimaps and after adding the markers on the map, when closing and open the application they aren't longer there.

How can I show on the map the previously added markers?

Tranks.

I'm using delphi 10.2

Unigui 1.90.0.1555

 

Posted
7 hours ago, Efrenis said:

Hello developers

I working a project with TUnimaps and after adding the markers on the map, when closing and open the application they aren't longer there.

How can I show on the map the previously added markers?

Tranks.

I'm using delphi 10.2

Unigui 1.90.0.1555

 

Hello

I don't understand the problem. Can you explain it step by step?

Posted

Hi Hayri for your response.

I explain..

I open my Unigui application, I add one or severals markers to a UniMap, I close my application and when I open the application again all the markers I had added before desapears from map.

The question is, How to show the markers previosly added into the map.

Thank again..

Posted
1 minute ago, Efrenis said:

Hi Hayri for your response.

I explain..

I open my Unigui application, I add one or severals markers to a UniMap, I close my application and when I open the application again all the markers I had added before desapears from map.

The question is, How to show the markers previosly added into the map.

Thank again..

I have my own google map key.

Posted
46 minutes ago, Efrenis said:

Hi Hayri for your response.

I explain..

I open my Unigui application, I add one or severals markers to a UniMap, I close my application and when I open the application again all the markers I had added before desapears from map.

The question is, How to show the markers previosly added into the map.

Thank again..

Hi, You should save created markers to your database and load them when map is ready

Posted
42 minutes ago, Efrenis said:

Not, what is the most recommend way to do that?,

How can I get the Lat and Lon in the map?

thanks. 

Please open "Unimap - Draw" Demo.

in UniMap1MarkerCreated you will have access to newly created Marker. 

you can check Marker.Latitude and Marker.Longitude properties.

 

Posted
8 hours ago, Hayri ASLAN said:

Please open "Unimap - Draw" Demo.

in UniMap1MarkerCreated you will have access to newly created Marker. 

you can check Marker.Latitude and Marker.Longitude properties.

 

Sorry Hayri in UniMap1MarkerCreated demo has

procedure TMainForm.UniMap1MarkerCreated(Sender: TObject;
  var Marker: TUniMapMarker);
begin
  with Marker do
  begin
    Popup.content:='A New Marker';
    AddToMap;
    OpenPopup;
  end;
end;

I not see the way to access to the markers that I had created before.

I try to explain again, I want to show, to see, to display all the markers that I had created into the map before.

I don't know how to display the markers created before when I open the application.

How can I do that?

Thanks.

Posted
23 minutes ago, Efrenis said:

Sorry Hayri in UniMap1MarkerCreated demo has

procedure TMainForm.UniMap1MarkerCreated(Sender: TObject;
  var Marker: TUniMapMarker);
begin
  with Marker do
  begin
    Popup.content:='A New Marker';
    AddToMap;
    OpenPopup;
  end;
end;

I not see the way to access to the markers that I had created before.

I try to explain again, I want to show, to see, to display all the markers that I had created into the map before.

I don't know how to display the markers created before when I open the application.

How can I do that?

Thanks.

Hello

You should have latitude and longitude of markers.

Please use onMapReady event and add them in to map.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...