[aprssig] Auto-Zoom with Findu?

John A. Ficke - WT4M wt4m at wt4m.com
Sun Aug 26 11:53:56 CDT 2007



Unfortunately, none of those parameters, though passed to the gmap cgi
display now utilized at findu, seem to be recognized by the cgi...


Thus changing any of the parameters (other than the call) will not change
the map display in the least...


This is what the find cgi creates in the iframe:


rld=7&degree=.1" scrolling="no" width="720" height="551"></iframe>


And gmap cgi then delivers:






<BODY onload="loadMap();">

    <div id="map" style="width: 700px; height: 500px"></div>

    <script type="text/javascript">


function loadMap(){   var map = new GMap(document.getElementById("map"));

   map.addControl(new GLargeMapControl());

   map.addControl(new GMapTypeControl());

   map.addControl(new GScaleControl());

   map.centerAndZoom(new GPoint(-68.77367, 44.83283), 5);

   var icon1 = new GIcon();

   icon1.image =

   icon1.shadow =

   icon1.iconSize = new GSize(90, 20);

   icon1.shadowSize = new GSize(1, 1);

   icon1.iconAnchor = new GPoint(8, 8);

   icon1.infoWindowAnchor = new GPoint(5, 1);

   var point1 = new GPoint(-68.77367,44.83283);

   var marker1 = new GMarker(point1, icon1);


   GEvent.addListener(marker1, "click", function() {
marker1.openInfoWindowHtml("KB1IKN<br> --- Report received  14 hours 31
minutes 48 seconds ago<br>   Altitude: 223"); });






The use of Google Maps is experimental, comments are welcome. If you are
using Internet Explorer 6 and having problems, try lowering your security



What is needed is a way to change the "5" in:


   map.centerAndZoom(new GPoint(-68.77367, 44.83283), 5);


Changing this value determines the level of zoom on the initial display.  It
doesn't appear that any parameters for the gmap cgi have been made available
at the website.







-----Original Message-----
From: aprssig-bounces at lists.tapr.org [mailto:aprssig-bounces at lists.tapr.org]
On Behalf Of Matt Hunter
Sent: Sunday, August 26, 2007 12:12 PM
To: TAPR APRS Mailing List
Subject: Re: [aprssig] Auto-Zoom with Findu?






Check out the advanced parameters for all of the findu cgi's:





Matt, KB1IKN



Jason Rausch wrote:

> When using the basic find.cgi:


> http://www.findu.com/cgi-bin/find.cgi?ki4udd-15


> Is there any kind of flag that can be added to that

> URL to force the map to zoom to a specific level upon

> loading, other than the default setting?


> Thanks,

> Jason KE4NYV

> RPC Electronics

> www.rpc-electronics.com  


> _______________________________________________

> aprssig mailing list

> aprssig at lists.tapr.org

> https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig






aprssig mailing list

aprssig at lists.tapr.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig/attachments/20070826/9ce0942a/attachment.html>

More information about the aprssig mailing list