Ive realized about my filtering error, thats because I didnt insists about that.
The wp are ok but I need help with this questions, I dont understand if you will answer it later, sory if I insist:
2- I need to show the cities where the user sell products and its totals.
Then the WayPoints depends on who logged in and some other filters.
My idea is to use a MEMORY driver table to save the waypoint per user.
Is this ok or is better to use a Queue?
3- The map is on a memory form, I need to fill the waypoints in this memory form because of filters I need to apply to the cities and invoices.
In which form embed point must I fill the map data?
4- Ive seen that its obligued to set an initial waypoint, if I do not set one, then the map is blanked.
I dont have any initial wp, then I need to calculate it to set it in the middle of the data wps.
Will be good to use the same LOOP where the template reads the wps to calculate the medium latitude and the medium longitude. This avoids to use another loop before the
p_web.SetOption(loc:MapOptions,'center','['&p_web.GetLatLng( IniLat ) &',' & p_web.GetLatLng( iniLon ) &']')
Any way of set this after the wps loop?
5- How to set the zoom value depending on the waypoints to see initially all of them?
6- With Esri, any way of disable the wp grouping on the map? if they are closed depending on the zoom it group them in a circle.