Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Map Module [Lea...  KML support
Previous Previous
 
Next Next
New Post 4/18/2008 10:48 AM
User is offline Luis Bernardo
7 posts
10th Ranked


KML support 

Hi,

I have an apsx page that encapsulates all the logic I need and generates a valid KML file. I would like to use this apsx page as the data source for the Map: this page produces KML with markers and polygons and renders just fine on maps.google.com (also renders fine on maps.live.com, by the way ;-) ).

Is there any plans for KML support in this module?

This KML support add on would be a new Data Source connection or a new Data Provider?

Were you able to produce documentation for Data Provider developement?

Thanks,

 
New Post 4/21/2008 10:41 AM
User is offline Luis Bernardo
7 posts
10th Ranked


Re: KML support 

In order to show my KML file I was trying to add it as an overlay to the map using an example from Mike Williams (http://econym.googlepages.com/geoxml.htm).

To do this, I tried to use a javaScript block on the footer of the module settings like this (my Module ID is 724, so i'm assuming my map object is MAP724 ):

<script type="text/javascript">
var kml = new GGeoXml("http://mydomain.com/myfile.kml");
MAP724.addOverlay(kml)
</script>

This fails with a client-side script error: 'MAP724' is null or not an object

Any ideas?

Thanks,

 
New Post 4/21/2008 12:46 PM
User is offline Kevin Schreiner
58 posts
10th Ranked


Re: KML support 

The Map object is created based on a setTimeout function in the page - so its not there until the page load has completed. Place that code into a function and on load conduct a setTimeout loop call until typeof MAP724 != 'undefined'



Kevin M Schreiner
[P] 410.327.0007 [F] 410.327.4082 | info@r2integrated.com
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Map Module [Lea...  KML support
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP