I bought this cool code – Nice work
But now I want to optimalize this code…
Over the google map I have a link list, with all stops in the route. Now I want, if I press one of some links, it should zoom to the point and the infowindow should open.
But the polyline must not disappear!
How can I realize this?
It is roughly the same as here:
But I am not be able to combine your code and this code to one big code =(
Thanks for your help.
thank you so much for purchasing our item.
great Idea. I will prepare an update to make this possible. Please send me an email to firstname.lastname@example.org. I will send you the necessary files by mail. So you don’t have to wait for the codecanyon update queue.
Release 1.2 of Travel Map Pro is now online:
It’s now possible to link to a stop marker from html.
Hey there, I just downloaded the zip file, and when setting up according to your documentation (great documentation, btw), I noticed that it says to include “namespace.js”, however, this wasn’t packaged in the zip.
Is this file needed? If so, how can I get it? Thanks!
thank you so much for purchasing our item.
Namespace.js was refactored to the travelmap.js file. So you don’t need it any more. I will update the documentation for the next release.
Thanks! I sort of assumed that since I was getting no errors without it. It’s worked out perfectly, btw.
thanks again for your bug report. I will publish a new version with the fixed documentation file soon.
I have purchased the script. Thank you for the good work! I do have a few questions:
1) Is it possible for the map to show the map part that have the trip locations only? Currently the default zoom is set as 2. If I have a small trip, say some cities near florida, it still shows the whole world. That doesn’t look pretty. Is it possible to set bounds to include only the trip? If yes, could you suggest how?
2) When I click on a marker, the marker moves but it is not set as the center of the map. Is there any reason for doing that? Maybe for best showing the trip?
4) Is “travelmappro.js” the same as “travelmappro-min.js”? Is yes, why using two different files?
Sorry about asking so many questions. It just turned out that I expected more from this script.
Thanks for the help.
thanks you so much for purchasing this item.
Here are some replies:
1. and 2.: Change the values travelMap.mapCenter and travelMap.mapZoom to values that better match your map. See also chapter A. in the documentation.
4. travelmappro-min.js is a minified version for production environment. You can always use travelmappro.js. Check also chapter F. of the documentation.
Hope that helps.
Thanks for the quick response. It really helps.
In my project, the trip stops are dynamically created. My preferred script will show the trip map dynamically. The map zoom and bound are automatically set.
I understand that for $7, it’s unreasonable to ask customization. Just wondering if you could give me some suggestion as how to do this? I will do the coding by myself.
thanks again for purchasing our item.
Zu zoom the map dynamically i would try to calculate the distance between your map center and the stop markers. Here is a good starting point for this: http://stackoverflow.com/questions/365826/calculate-distance-between-2-gps-coordinates
Which version is better integrated to wordpress: js or php?
thanks for your request. I would go for the js version to implement into wordpress.
But if you wan’t to do it right you need some wordpress programming skills about loading js with wp_enque_script.
We are planing a wordpress version for travel map pro. But there is no release date at the moment.
Hi! Thanks for the script. But is there any possibility to start with satellite, not map
OK, I found that I can use mapTypeId: google.maps.MapTypeId.HYBRID – Line 57 in travelmappro.js
thanks for purchasing our item and you feedback.
We will add this to the documentation in the next version.
Hi, great app! I’m just wondering if this can be used for locations closer together? I’m trying to show a map with the delivery route showing all the stops in a town and i need the polylines to follow the roads to each location (as opposed to the curved polylines). There are 90 stops at the moment. Is that possible with Travel Map Pro? Cheers!
thanks for you question. The line just connects the points to each other. It can’t follow the road.
This might be possible in general with the google traffic api. But this can’t be done by travel map pro at the moment.
Before I buy, just verifing features..
Feature: Easy travel route with google maps.
Feature: Geocoder to get the values of your locations included in the help file.
Using these 2 features is it possible for a user to click on one of my locations and then get directions to that location from their current location?
no this is not possible at the moment.
Thanks for your question.
I don’t understant why we can zoom out and see an infinite quantity of the same map with same points. We can move out of the screen the map and then, we have a grey background. It’s a pity because the idea is great !
Good job and luck !
thanks for your comment. Thats because when you zoom out all the way. Google maps displays the map many times.
This has nothing todo with travel map. It’s just how google maps work.
Great scrip thanks for that. Just wondering if i want two routes in the map, would that be possible.
thank you for purchasing our item. At the moment multiple routes are not possible with travel map pro.
autobahn81, i have purchased the item for my website. I am just wondering if you have a different licence available? I wanted to create a wordpress plugin/widget for others to use for free, by useing your pin pictures and/or modifying your codes. If you do have a licence for this, could you please let me know how much it costs?
thanks for purchasing our item. There is only the envato extended licence available:
With the extended licence you can resale the item as described in the terms, (e.g. as part of a theme on theme forest) but not give it away for free.
Is there a way to filter the trip by year instead of location?
thanks for your question. This is not possible at the moment.
Is it possible to combine this with the Google Stylish Maps item found in CodeCanyon? Mainly the switch the colour of the google map and possibly add the royal slider. I’m planning to purchase both, as they have elements I wish to have in the end concept..
we don’t know the source code of other authors items. We can’t say anything about the compatibility.
I’ve a question…
Is an autoresizable map for a iWebApp in HTML?
sorry i don’t understand your question. I am not really sure what you mean with iWebApp.
Travel map pro is not automatically resizable. But you can set the size of the canvas in %.
Maybe that helps.
ah! iWebApp is a exclusive mobile theme in apparence to APP , I cry. Is possible to choose the zoom route in your map? many thanks
yeah you can config the initial zoom level of the map.
Hi i just bought your script. Great work. I have a problem.
I dont know the way how do i show the markers.
The polyline is shown ok but the markers i dont know how to appear them???Can you help me?
thanks for purchasing our item.
Can you send me a link to your site. So i can have a look on the issue.
hi, i am working it localhost..
the fact is that it’s display normally from the folder of my desktop and when i copy to the website folder dont.
Did you copy the images folder with the marker images to your server?
ok i found it.Thanka for your reply again!
Do you know how can i give a round angle to polyline between 2 point and not a straight line?i mean as your example with curve?
Hi again did you check what i had ask you the previous week? about the polyline? how can i use it not to be a straight line?
sorry I missed your last post.
The default of the polyline is geodesic. Which means the line will follow the curvature of the Earth. So it depends on the places of the markers how the line is shaped on your map.
Is it possible to enter the address instead of Longitude and Latitude?
sorry for the late reply. I missed some comments.
This is not possible at the moment. You can search for an address in the help file and copy the lat and long from there.
Hey, your preview does not work, can you fix it? I would like to see what the plugin is capable of
the preview works for me.
Install is a nightmare, just lost 10 $
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Unlimited graphic downloads & digital courses. Only $29/month
22,000+ templates & 1,000+ courses
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work