[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
From Flames To Fork, Comes Freedom • View topic - Location Dialog gives Map and Route Info

Location Dialog gives Map and Route Info

A proper layout of brochures, presale materials so you feel ADempiere can sell to business owners and not just techies.
Forum rules
Materials are strictly selected by the admins. This is a restricted area. No outside advertising allowed. Contact the admins to submit your materials. Submission does not mean publication.

Location Dialog gives Map and Route Info

Postby red1 » Thu Feb 09, 2012 10:16 pm

Mucho mucho contributions to handle here in Brazil. So i will just do it slowly, one by one. This second submission (first one was some days ago by Ricardo Santana from KENOS on Tenant Base Language as an improvement on what is originally Metas' No-Base Language), Fernandinho from FAIRE has just submitted to iDempiere this http://jira.idempiere.com/browse/IDEMPIERE-147. Screenshots below show it best what he has done for the community.

First go to Business Parnter window, Location tab, click on the Address. You will notice the two new buttons - Map and Route.

LocationDialog.png
LocationDialog.png (41.74 KiB) Viewed 8636 times

Click on the Map button it will lead to your web browser (you should be online to do this) and call up the GoogleMap showing where that location is.

Map.png
Map.png (131.75 KiB) Viewed 8636 times

But there is more. Click on the Route button and it will show the route to take to deliver your shipment from your office to the customer's location!

Route.png
Route.png (223.15 KiB) Viewed 8636 times
red1
Site Admin
 
Posts: 2759
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Re: Location Dialog gives Map and Route Info

Postby nmicoud » Fri Feb 10, 2012 5:57 pm

I've tested it and it works fine !
Nice enhancement

Thanks

Nicolas
nmicoud
Regular
 
Posts: 137
Joined: Fri Oct 07, 2011 6:19 pm

Re: Location Dialog gives Map and Route Info

Postby red1 » Mon Feb 13, 2012 10:42 am

Carlos Ruiz has further improved the code to be more compatible http://jira.idempiere.com/browse/IDEMPIERE-147 and accepted it into our iDempiere trunk. It also now worked in ZK Ajax UI! I have updated the Brazilian community on this good news here http://forum.kenos.com.br/viewtopic.php ... 3742#p3742

If anyone wants it to be in ADempiere, you may also commit it there (always respecting credit of the original contributors - Fernando Moraes and Carlos Ruiz).
red1
Site Admin
 
Posts: 2759
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Re: Location Dialog gives Map and Route Info

Postby siberium » Fri Feb 24, 2012 12:20 am

Is it works only with google maps? What about openstreetmap?
Can explain my question. Google maps have a really poor cover of Russia and some ex-USSR countries. Openstreetmap is much usable for us.
------------
Regards
Vladislav
siberium
 
Posts: 14
Joined: Thu Feb 23, 2012 1:00 am
Location: Russia, Rostov-on-Don

Re: Location Dialog gives Map and Route Info

Postby red1 » Fri Feb 24, 2012 12:27 am

Hi Siberium!
That is the reason why Carlos made the changes not hard-coded to GoogleMaps to keep it soft configurable. Please check out the code or try it out and see if you can set it to OSM. That will be a good advancement on it!
red1
Site Admin
 
Posts: 2759
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia


Return to Marketing ADempiere

Who is online

Users browsing this forum: No registered users and 1 guest