Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapKML supportKML support
Previous
 
Next
New Post
4/18/2008 1:48 PM
 

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 1:41 PM
 

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 3:46 PM
 

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
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapKML supportKML support


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out