FollowMee Forums   Home    Forums    Active Topics    Search
    Login
FollowMee Forums >> General Discussion >> General Discussion >> Multiple Maps one web page
Multiple Maps one web page
Author Topic
joes-driveaway


Newbie

Join Date: 2014-04-12
Posts: 3

Posted: 2018-03-05 08:45:24 PM

Hello
Is it possible to have multiple maps for one device on the same page?
No matter what I try the web page will only display the first map

What I would like to do is on map #1 track the last 5 hours.
On map #2 I would like to track the last 7 days or a date range
Administrator


Best of the Best


Join Date: 2010-01-27
Posts: 1252

Posted: 2018-03-06 10:39:19 AM

Use the iframe map instead of the javascript method. You can embed multiple iframe maps on the same page.

joes-driveaway


Newbie

Join Date: 2014-04-12
Posts: 3

Posted: 2018-04-11 02:32:53 PM

Thanks for the reply. I have one more question

To share my tracks I only have the option of a few hours or days, is it possible to share a date range as well?

Although I can get by with sharing the last 7 days, I would prefer the client only be able to follow me while I work for them and not the client before. Also by using a date range I could create the page and send the client the link ahead of time.
Administrator


Best of the Best


Join Date: 2010-01-27
Posts: 1252

Posted: 2018-04-11 06:39:33 PM

Yes, sharing your date range is possible. You need to modify the iframe string. Use "daterangefordevice" function and specify a starting date and ending date. You can use future dates for both dates so that before your project starts, there is no data for the map. Once the project starts, the map shows data from the starting date, up to your last known location. For this function, you specify the following parameters.

&function=daterangefordevice&from=2018-04-20&to=2018-04-25

For the api doc, see this link
http://www.followmee.com/apidoc.aspx

joes-driveaway


Newbie

Join Date: 2014-04-12
Posts: 3

Posted: 2018-04-12 02:45:09 PM

That''s great. I honestly don''t remember seeing that listed in the API listing.

Thanks for your time and program

  FollowMee.com DMG Forums 3.2