APEX-PLUGIN.COM

..the apex plugin directory

an initiative of

 

Compete in the ODTUG APEX   Plugin Competition!

·   Rules on ODTUG

·   Register to submit

·   Winner will be announced at Kscope12!

 

Basic Competition Rules

  • Only new plugins can enter the competition
  • Plug-ins must be submitted by May14,2012
  • Select ODTUG Competition as category
  • Provide an URL to a demo location
  • Source code uploaded to ODTUG Competition category is not downloadable during competition

Add your APEX4.0 Plugin info

Describe your Plugin’s features. You can upload the Plugin’s code and documentation, or, alternatively, submit the URLs to your website or blog.

You are here:
Follow us on Twitter
Region Plugin Google Directions

Google Directions

10
Categories: Region Plugin
Author: Robert

Two items are required for this particular plugin which correspond with the starting and ending locations in the plugin definition.

Plug in attributes also include: starting center location and zoom, along with assigning the height and width of the map.

The javascript function calcRoute() activates the directions.

The referenced demo activates the directions with an onChange="javascript:calcRoute();" in the HTML Form element Attributes from within the items.


Keywords
Google Map, Google Directions, Google API

Company:
Date added: 16.8.2010
Views: 2327
Votes: 4
Reviews: 5
Min. APEX Version:
4.0
Share on Facebook
Digg! Share on Digg
Save This Page
Link to:
Download
download apex plugin
If something is not correct please report it here: Report Listing
Do you have a question about this Plugin? Want to write a Review or Comment?
Login first.
Reviews / Questions / Comments are e-mailed to the author of the Plug-in.
0 
DIV typo
by Shawn
on February 28, 2012
The source of this plugin, where is outputs the html, there is a missing ">" to close off the div. This took me hours to figure out why it wouldnt line up on my page!

:)
0 
Onload
by Robert
on August 19, 2011
Not sure if this helps but:

Instead of onChange, I have called the javascript function via a "Execute Javascript Code" dynamic action with javascript:calcRoute(); as the code and with the "Fire On Page Load" checked.

But of course I set the starting and ending location items via a branch before rendering the page with the plugin.

If you have an example of your page on apex.oracle.com, I can take a look.
0 
Great Plug In
by Stuart
on August 19, 2011
Hi Robert

Thanks for a great plug in. I have followed your instructions as well as those in the other posts but am unable to show the directions portion of the page. When I move the javascript to page level and invoke this with the onload I just get a blank map region. Do you have any pointers?
10 
Useful
by Robert
on April 14, 2011
The example demo has an html region with two select lists (P1_START and P1_END) and the plugin as a subregion.

Under the plugin region definition the starting item is P1_START and ending region is P1_END (height 400, width 700)

Both P1_START and P1_END have onChange="javascript:calcRoute();" listed under HTML Form Element Attributes in their definitions.

Each select list is using static locations but these items can be substituted with text items. You would then need a button or something to call the specific javascript function calcRoute().

I have also used a basic input form with a submit button with a branch to a new page (parsing over the starting and ending locations into hidden items) and called the javascript function onload.
8 
How to use the plug-in
by Kiran Pawar
on April 13, 2011
First of all this is a fantastic plug-in. According to the steps available on website I created two text boxes on the region in my application. Then added the JavaScript function. Then imported the plugin. But next don't know what to do? It is not working. What attributes do I have to set can anyone elaborate?
August 28, 2010
The Entry has been updated in the meantime!
Powered by Sigsiu.NET RSS Feeds

Disclaimer: The APEX Plugins on this site are not supported by Oracle Support Services.

If you have a question about a Plugin or need support: Login and select the plugin detail page. At the bottom you can enter your Question / Review / Remark.
Your message will be sent to the author of the plugin.