Jpolite works with javascript code running in modules as I have
FCKeditor running
in one of the modules.
I installed jquery jmaps and I have it referenced in the layout.html
and the
google script with key for localhost.
I also tried this previously just using standard google maps insertion
code.
unfortunately only the map controls show with a small link to get the
map
in an external google page.
in the module:
<script><!--
jQuery(document).ready(function(){
jQuery('#map1').jmap('init', {'mapType':'hybrid','mapCenter':
[37.4419, -122.1419]});
jQuery('.add-marker').click(function(){
jQuery('#map1').jmap('AddMarker', {
'pointLatLng': [37.4419, -122.1419],
'pointHTML': '<strong>This was added with
jMaps</strong>'
}, function( marker, options){
jQuery('.remove-marker').click(function(){
jQuery('#map1').jmap('RemoveMarker', marker);
});
});
});
});
//--></script>
<div id="map1" class="jmap" style="width: 100%;" ></div>
Any ideas if the is a jpolie problem as I cannot see why the map does
not show?
regards
Chrism
On May 25, 12:32 am, mdipierro <[email protected]> wrote:
> That's the latest one. If you could explain better which problems you
> are having with it, I will try fix them. This is very much under
> development.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---