Search found 5 matches
- Wed Oct 21, 2009 2:17 pm
- Forum: PHP - Code
- Topic: Pixel to Degrees Conversion
- Replies: 1
- Views: 72
Pixel to Degrees Conversion
I am working on a map program and I am trying to convert pixels to latitude/longitude and back. I have a method started that takes in the location and data parameters: function mix2Deg ( $mix, // location to convert $mapData // Data from $MAP_DATA for this map. ) { ...
- Wed Oct 21, 2009 1:02 pm
- Forum: PHP - Code
- Topic: Beginner PHP, Map.php
- Replies: 7
- Views: 820
Re: Beginner PHP, Map.php
ok that makes sense. im now working on the next method. im not sure i understand this one. this is what i have: function SetDeg ( $mapData // The map data (array of 9). ) { global $_GET; if (isset($_GET["new"])) { $new = $_GET[...
- Sun Oct 18, 2009 6:04 pm
- Forum: PHP - Code
- Topic: Beginner PHP, Map.php
- Replies: 7
- Views: 820
Re: Beginner PHP, Map.php
something like this? function SetMap ( $defaultType, // Default type (string) $defaultZoom // Default zoom (string) ) { global $_GET; if($defaultType = "t" && $defaultZoom = "64mp") { $result = array($...
- Sun Oct 18, 2009 2:55 pm
- Forum: PHP - Code
- Topic: Beginner PHP, Map.php
- Replies: 7
- Views: 820
Re: Beginner PHP, Map.php
I understand that this is a little complex but I feel like once I understand how to write the set functions it will all come together.
I am a beginner with php, but more like an intermediate at programming.
I am a beginner with php, but more like an intermediate at programming.
- Sun Oct 18, 2009 2:05 pm
- Forum: PHP - Code
- Topic: Beginner PHP, Map.php
- Replies: 7
- Views: 820
Beginner PHP, Map.php
I am a complete beginner to PHP and am looking for some help with a program I am messing around with. I found this incomplete source code, and I wanted to finish it, but I have no idea what I am doing. It looks like all you need to do to complete it is write the Set functions in the 3rd file. I have...