Hi and sorry if I am wasting time on things that have already been asked but I am extremely new at this. I can get data from the api's but I can't get a map to display. I have seen the examples and the leaf tutorial on creating a map but it does not say how to create the map and center it where I would like it to be without hardcoding in the latLngs.
My scenario will be rather simplistic as opposed to some of the stuff I have been reading in these posts. I have 6 sites [ 6 different lat,Lgs ] and my page with a map will be displayed after a site is selcted centered on the associated lat/lng for the site I picked. In addition to that each site has multiple deliveries associated which I would like to display with the route drawn on the map as well. My application is a local one and only available on our network.
I haven't seen anything on here I can get going with so any help would be greatly appreciated. I have a key but don't know if it is the proper key for something like this.
I have tried https://www.mapquest.com/directions and can get the different points to display and the route to display but it won't zoom properly or center where i want it to which would cause the users of my app to have to center, zoom, zoom, zoom recenter etc.
Thanks in advance