google-code-export / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
2 stars 2 forks source link

Map with post #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi 
I'm experimenting with different widget friendly themes. It would be so cool if 
we could place your 
map into the sidebar. Like the widget: 
http://www.waxbrush.com/widgets/google-mapsearch-
widget/
That way we could view post and location parallel to one annother. Or is there 
another way to view 
page and post together?
Best, your faithful fan
rod

Original issue reported on code.google.com by r.galan...@fhbb.ch on 18 Feb 2007 at 10:16

GoogleCodeExporter commented 9 years ago
Take a look at the "Showing posts with the map" section of <a
href="http://code.google.com/p/wordpress-geo-mashup/wiki/Documentation">the
documentation</a>.

I have ideas for features that would allow more post-specific maps. Stay tuned.

Original comment by dylankk...@gmail.com on 19 Feb 2007 at 12:48

GoogleCodeExporter commented 9 years ago
Hi
Can't stop playing around with the maps. It worked! I could display the latest 
post together with the map. But 
only under or over the map. How can I get them next to each other? And I still 
have the Safari problem.

I tried to display the geo map in my sidebar with the plugin: 
http://www.vtardia.com/blog/improved-include-
page/en but only the map page will react to it.

Finally I looked into google map api "encoded polylines". I created an encoded 
polyline and would like to 
overlay it with the example code onto geo-mashup:
Where the h... schould I past the code?:

var encodedPolyline = new GPolyline.fromEncoded({
    color: "#FF0000",
    weight: 10,
    points: "ckv_FsfxkDeDbhBt_@dkAiIjkBnuBeAnhL{`Ihn\~pf@nNnxIwLnaA",
    levels: "BBBBBBBBB",
    zoomFactor: 32,
    numLevels: 4
});
map.addOverlay(encodedPolyline);

sorry for all these amature questions, it comes from the fact I think you 
created the best plugin yet.
best Rod

Original comment by r.galan...@fhbb.ch on 20 Feb 2007 at 11:49

GoogleCodeExporter commented 9 years ago
Glad you're enjoying the plugin.

You can increase your control over the layout by editing your page template. 
Instead
of using <!--GeoMashup--> and <!--GeoPost--> in the page editor, you can put 
<div
id="geoMashup"></div> and <div id="geoPost"></div> in your template.

For the polyline, see "Customizing" in the documentation.

Original comment by dylankk...@gmail.com on 21 Feb 2007 at 2:47